Visual Control
react-raster provides visual control of your Grid. Just add the prop control
to the Box
-component, that defines your grid.
Press
ESC
to switch it on and off.
Live Editor
Result
Press ESC to see the Grid
#
Production-handlingTo use visual control only in development, bind it to process.env.NODE_ENV
.
#
Control ColorYou can setup a custom color for visual control.