Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tripss/react-jss-grid

React JSS Grid a flexbox grid.
https://github.com/tripss/react-jss-grid

cssinjs flexbox flexbox-grid jss react react-jss

Last synced: 26 days ago
JSON representation

React JSS Grid a flexbox grid.

Awesome Lists containing this project

README

        



cssinjs


React JSS Grid a flexbox grid.





Codecov


---

> This project is inspired / based on the grid of [material-ui](https://github.com/callemall/material-ui).

## Installation
```shell
$ npm install --save react-jss-grid
```

## Development
If you'd like to contribute to this project, all you need to do is clone
this project and run:

```shell
$ npm install
$ npm run build
$ npm run build:watch // To recompile files on file change
```

## Examples
##### Custom breakpoints

When creating your theme you can define custom breakpoints the following way:
```js
import generateBreakPoints from 'react-jss-grid/utils/breakpoints'

const theme = {
breakpoints: generateBreakPoints({
values: {
xs: 360,
sm: 600,
md: 960,
lg: 1280,
xl: 1920,
},
}),
...
}
```

### Using development version in local project
You can use `npm link` to use your development version in your own project:
- Go to `react-jss-grid` directory and execute command `npm link`
- Go to your project directory and execute command `npm link react-jss-grid`

## [License](https://github.com/tripss/react-jss-grid/blob/master/LICENSE)

React JSS Grid is [MIT licensed](./LICENSE).

## Collaboration

If you have questions or issues, please [open an issue](https://github.com/TriPSs/react-jss-grid/issues)!