0.1.5 • Published 6 years ago

react-info-gallery v0.1.5

Weekly downloads
4
License
ISC
Repository
github
Last release
6 years ago

React Info Gallery

Show information and photos in a visual way.

Usage

The valid props for this components are:

PropDefinitionDefault Value
titleThe main title of the carousel. Appears on top.''
cardHeightHeight of the carousel150px
infoHeightHeight of the information300px
cardsToShowNumber of cards showed in the carousel6
cardsToScrollNumber of card that are scrolled when the button is clicked6
gradientColorColor for the gradient in the info photos

Also, you have the prop info, an array of objects that will manage the data. Each object will have a cardPhoto, title and description. The first one could be an static image or an URL, and the other two, a simple string or a component.