Buddy-Grid-Layout (React-Grid-Layout fork with top-left compacting) v1.4.4 Demo 10 - Dynamic Minimum and Maximum Width/Height

Based on nitesh619's solution for top-left compacting

Your application may have more complex rules for determining an element's mins and maxes. This demo demonstrates how to use the `onResize` handler to accomplish this.

In this grid, all elements are allowed a max width of 2 if the height < 3, and a min width of 2 if the height >= 3.