react-auto-mosaic
installation
npm install --save react-auto-mosaic
demo
before (problem with mismatched tiles)
after (solved using react-auto-mosaic)
example
- Define the number of columns in the grid.
- Define grid breakpoints (like in bootstrap).
- Create a list of tiles, of any height.
- Enjoy automatic tiles behavior :)
};
scripts
- start dev
$ npm start