Skip to content

Jasbir23/Card-Deck-React-Native

Repository files navigation

CardDeck

CardDeck

Card-Deck-React-Native(iOS + Android)

Props

Name isRequired Type Description
itemCount YES Integer No of card components to be rendered
renderCard YES Function callback Render card component callback. Carries index of card.

Usage

Find detailed use case in Examples section

render(){
  return(
    <CardDeck
    itemCount={7}
    style= {{ paddingTop: 200 }}
    renderCard={index => {
      return(
        // return your custom component here
        )
    }} />
  );
}

Check out Sample Expo App

About

Animated CardDeck for React Native

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published