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
gutterWidth
is 0 by defaultlayout
isflexbox
by default in favor of modern browsers
Container
- Removed
onResize
callback
Row
- Removed
columns
,gutterWidth
, andlayout
props
Col
- No changes
Visible / Hidden
- Removed
onResize
callback
Responsive Utilities
Use ScreenClass
to render content based on the screen class:
<ScreenClass>
{screenClass => (
<div>{screenClass}</div>
)}
</ScreenClass>
<ScreenClass
render={screenClass => <div>{screenClass}</div> }
/>