Model API
Controlled layout
The layout held in React state with layout and onLayoutChange. Reset and Shuffle change the state from outside and the grid follows; the JSON beside it is the state itself.
- layout
- onLayoutChange
- controlled
- useState
The layout held in React state with layout and onLayoutChange. Reset and Shuffle change the state from outside and the grid follows; the JSON beside it is the state itself.