Releases: trendmicro-frontend/react-grid-system
Releases · trendmicro-frontend/react-grid-system
v1.1.0
v1.0.0
Breaking Changes
This release contains a breaking change that requires React v16.3 (or above) for using the official context API.
See below for other breaking changes:
Provider / Container
gutterWidthis 0 by defaultlayoutisflexboxby default in favor of modern browsers
Container
- Removed
onResizecallback
Row
- Removed
columns,gutterWidth, andlayoutprops
Col
- No changes
Visible / Hidden
- Removed
onResizecallback
Responsive Utilities
Use ScreenClass to render content based on the screen class:
<ScreenClass>
{screenClass => (
<div>{screenClass}</div>
)}
</ScreenClass><ScreenClass
render={screenClass => <div>{screenClass}</div> }
/>