Skip to content

v1.0.0

Compare
Choose a tag to compare
@cheton cheton released this 15 Mar 09:26
· 2 commits to master since this release

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 default
  • layout is flexbox by default in favor of modern browsers

Container

  • Removed onResize callback

Row

  • Removed columns, gutterWidth, and layout 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> }
/>