0.0.6 • Published 3 years ago
@fvillard/reactslide v0.0.6
React Slide
WARNING : this package is actualy in developpement !
Usage
Import
import Slide from '@fvillard/reactslide'
Declaration
<Slide />
Configuration
Props | Description | Default value |
---|---|---|
pictures* | Array who contain img obj | [] |
currentPictureIndex | Integer | 0 |
autoStart | Boolean | true |
speed | Integer | 3000 |
style | Object for define main style | {} |
Img object
key | Description | Default value |
---|---|---|
path* | String | '' |
backgroundPosition | CSS value | center |
backgroundSize | CSS value | cover |