Skip to content

Commit

Permalink
fix(publish): publish major version (#430)
Browse files Browse the repository at this point in the history
Update README example

BREAKING CHANGE: version 17.0.1 accidentally included all breaking changes, forcing major release
  • Loading branch information
obartra authored Jan 21, 2020
1 parent e44f3d2 commit 6c63e5f
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ or

[Play with a demo](https://codesandbox.io/s/github/gymnastjs/playground)

To install the development branch of gymnast, run `yarn add gymnast@next`.

If you are migrating from gymnast 16, check the [migration guide](https://gymnast.readme.io/v17/blog/16-to-17-guide).

## 📺 Examples
Expand All @@ -36,12 +34,17 @@ We have several examples [on the website](https://gymnastjs.github.io/gymnast).
```jsx
import * as React from 'react'
import { Grid } from 'gymnast'
;<Grid>
<Grid size={5} margin={2}>
Content Here
</Grid>
<Grid size={7}>More Content</Grid>
</Grid>

function App() {
return (
<Grid>
<Grid size={5} margin="XL 0">
Content Here
</Grid>
<Grid size={7}>More Content</Grid>
</Grid>
)
}
```

This will create 2 columns of sizes 5, 7, respectively.
Expand Down

0 comments on commit 6c63e5f

Please sign in to comment.