0.1.4 • Published 5 years ago

react-image-cards-carousel v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

React Image Cards Carousel

version license

Overview

Horizontal image cards carousel. Posibility to adjust general styling. Written in TypeScript.

Installation

npm install --save react-image-cards-carousel

Components

CardsRow

The CardsRow component renders a horizontal carousel of the given amount of items.

ItemType

interface ItemType {
  image: string;
}

Props

NameTypeDefault ValueDescription
backgroundColorstringwhiteSets the background color of the carousel container
cardBorderRadiusstring8pxSets the bordr-radius css property for the cards
cardWidthstring400pxSets the width css property for the cards
heightstring500pxSets the height css property of the carousel container
itemsItemTyperequiredSets the array of items to display on the carousel