https://github.com/jyoketsu/react-waterfall-responsive
react用瀑布流组件
https://github.com/jyoketsu/react-waterfall-responsive
Last synced: about 2 months ago
JSON representation
react用瀑布流组件
- Host: GitHub
- URL: https://github.com/jyoketsu/react-waterfall-responsive
- Owner: jyoketsu
- Created: 2019-07-16T09:03:47.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-18T05:42:49.000Z (over 3 years ago)
- Last Synced: 2025-02-10T13:15:54.304Z (4 months ago)
- Language: JavaScript
- Homepage: https://jyoketsu.github.io/react-waterfall-responsive/
- Size: 1.52 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Waterfall-react 瀑布流组件
### Install with npm
```bash
npm i react-waterfall-responsive
```### demo
[demo](https://jyoketsu.github.io/react-waterfall-responsive/)
### Usage
```
{
items.map((item, index) => (
))
}```
- columnNum:瀑布流的列数
- gap:间距