diff --git a/test/examples/0-showcase.jsx b/test/examples/0-showcase.jsx index 969177ad5..e6bb12960 100644 --- a/test/examples/0-showcase.jsx +++ b/test/examples/0-showcase.jsx @@ -12,6 +12,7 @@ class ShowcaseLayout extends React.Component { static defaultProps = { className: "layout", rowHeight: 30, + onLayoutChange: function() {}, cols: {lg: 12, md: 10, sm: 6, xs: 4, xxs: 2}, initialLayout: generateLayout() }; diff --git a/test/examples/1-basic.jsx b/test/examples/1-basic.jsx index 0403062d1..eab4c43e8 100644 --- a/test/examples/1-basic.jsx +++ b/test/examples/1-basic.jsx @@ -19,6 +19,7 @@ var BasicLayout = React.createClass({ className: "layout", items: 20, rowHeight: 30, + onLayoutChange: function() {}, cols: 12 }; }, diff --git a/test/examples/10-dynamic-min-max-wh.jsx b/test/examples/10-dynamic-min-max-wh.jsx index 925d2f93c..8dabdbdcc 100644 --- a/test/examples/10-dynamic-min-max-wh.jsx +++ b/test/examples/10-dynamic-min-max-wh.jsx @@ -21,6 +21,7 @@ var DynamicMinMaxLayout = React.createClass({ isResizable: true, items: 20, rowHeight: 30, + onLayoutChange: function() {}, cols: 12, }; }, diff --git a/test/examples/11-no-vertical-compact.jsx b/test/examples/11-no-vertical-compact.jsx index a3c11006c..f23860858 100644 --- a/test/examples/11-no-vertical-compact.jsx +++ b/test/examples/11-no-vertical-compact.jsx @@ -19,6 +19,7 @@ var NoCompactingLayout = React.createClass({ items: 50, cols: 12, rowHeight: 30, + onLayoutChange: function() {}, // This turns off compaction so you can place items wherever. verticalCompact: false }; diff --git a/test/examples/2-no-dragging.jsx b/test/examples/2-no-dragging.jsx index 047588113..016df08f3 100644 --- a/test/examples/2-no-dragging.jsx +++ b/test/examples/2-no-dragging.jsx @@ -20,7 +20,8 @@ var NoDraggingLayout = React.createClass({ isResizable: false, items: 50, cols: 12, - rowHeight: 30 + rowHeight: 30, + onLayoutChange: function() {}, }; }, diff --git a/test/examples/3-messy.jsx b/test/examples/3-messy.jsx index 72beed4d9..d91b1165e 100644 --- a/test/examples/3-messy.jsx +++ b/test/examples/3-messy.jsx @@ -18,6 +18,7 @@ var MessyLayout = React.createClass({ className: "layout", items: 20, rowHeight: 30, + onLayoutChange: function() {}, cols: 12 }; }, diff --git a/test/examples/4-grid-property.jsx b/test/examples/4-grid-property.jsx index a701af71c..02d48c8eb 100644 --- a/test/examples/4-grid-property.jsx +++ b/test/examples/4-grid-property.jsx @@ -15,6 +15,7 @@ var GridPropertyLayout = React.createClass({ isResizable: true, items: 20, rowHeight: 30, + onLayoutChange: function() {}, cols: 12, }; }, diff --git a/test/examples/7-localstorage.jsx b/test/examples/7-localstorage.jsx index 875795b4e..fc537e024 100644 --- a/test/examples/7-localstorage.jsx +++ b/test/examples/7-localstorage.jsx @@ -16,7 +16,8 @@ var LocalStorageLayout = React.createClass({ return { className: "layout", cols: 12, - rowHeight: 30 + rowHeight: 30, + onLayoutChange: function() {}, }; }, diff --git a/test/examples/8-localstorage-responsive.jsx b/test/examples/8-localstorage-responsive.jsx index c50e928af..971201bec 100644 --- a/test/examples/8-localstorage-responsive.jsx +++ b/test/examples/8-localstorage-responsive.jsx @@ -16,7 +16,8 @@ var ResponsiveLocalStorageLayout = React.createClass({ return { className: "layout", cols: {lg: 12, md: 10, sm: 6, xs: 4, xxs: 2}, - rowHeight: 30 + rowHeight: 30, + onLayoutChange: function() {}, }; }, diff --git a/test/examples/9-min-max-wh.jsx b/test/examples/9-min-max-wh.jsx index ac1e1b692..17de713fc 100644 --- a/test/examples/9-min-max-wh.jsx +++ b/test/examples/9-min-max-wh.jsx @@ -15,6 +15,7 @@ var MinMaxLayout = React.createClass({ isResizable: true, items: 20, rowHeight: 30, + onLayoutChange: function() {}, cols: 12, }; },