I really like to use this, but there's one mayor issue with the docs.
The most essential part is left out, being the defining of the grid, and you're refering to fictional functions to generate layout. And the demo page is not showing really what exactly to give to layouts
on the <ResponsiveReactGridLayout />
only some parsed coordinates, but not the actual format, which is expecting something like this:
var layouts = {
lg:[
{h:2, w:2, x: 0, y: 0},
{h:2, w:2, x: 1, y: 0},
{h:2, w:2, x: 2, y: 0},
{h:2, w:2, x: 3, y: 0}
],
sm: [
{h:2, w:2, x: 0, y: 0},
{h:2, w:2, x: 1, y: 0},
{h:2, w:2, x: 2, y: 0},
{h:2, w:2, x: 3, y: 0}
],
md: [
{h:2, w:2, x: 0, y: 0},
{h:2, w:2, x: 1, y: 0},
{h:2, w:2, x: 2, y: 0},
{h:2, w:2, x: 3, y: 0}
],
xs: [
{h:2, w:2, x: 0, y: 0},
{h:2, w:2, x: 0, y: 1},
{h:2, w:2, x: 0, y: 2},
{h:2, w:2, x: 0, y: 3}
],
xxs: [
{h:2, w:2, x: 0, y: 0},
{h:2, w:2, x: 0, y: 1},
{h:2, w:2, x: 0, y: 2},
{h:2, w:2, x: 0, y: 3}
]
};
At least I THINK so, but there's not example anywhere to be found of what to give it, except somewhere in the source there's a method that generates some random numbers.
{lg: layout1, md: layout2, ...}