1.0.3 • Published 5 years ago
rc-horizontal-card-timeline v1.0.3
rc-horizontal-card-timeline
a horizontal card timeline component of react
Install
npm install --save rc-horizontal-card-timeline
PropsType
- cards: React.ReactElement[]
- autoplay?: boolean
- time?: number
- scrollLength: number
Example
git clone git@github.com:Jwiayou/rc-horizontal-card-timeline.git
cd rc-horizontal-card-timeline/example
npm i
npm start
Use
<ExampleComponent
cards={React.ReactElement[]}
autoplay={false}
scrollLength={1000}
time={3000}/>
Width, Height 100%
Card style yourself
License
MIT © Jwiayou