1f4e813768
React-grid-layout uses an "i" parameter in the JSON describing a layout as an identifier. This is used to bind DOM elements' keys to Cells from the API. Also, we need a "Name" to describe what each graph is to a user. Also, react-grid-layout specified widths and heights in terms of units of the grid that it establishes. In order to have this properly configured, the extents of this grid need to be spelled out when creating a ReactGridLayout, hence the addition of "cols" and "rowHeight" props to that component. Finally, react-grid-layout incorporates some of its own styles. To support this, some modifications needed to be made to the webpack config to allow us to pull in includes from node_modules. |
||
---|---|---|
.. | ||
devConfig.js | ||
ignoreForTestLoader.js | ||
postcss.js | ||
prodConfig.js | ||
testConfig.js |