1.0.2 • Published 3 years ago

rn-expandable-cards v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

RN Expandable Cards

Custom expanding list for React Native

Installation

To install the library using npm

npm install rn-expandable-cards

or if you're using yarn

yarn add rn-expandable-cards

after that you need to open the following file

android/app/build.gradle

and insert follwing code

apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"

if you need to clean the gradle files (only if needed)

cd android && ./gradlew clean

Usage

import { RNExpandableCards } from 'rn-expandable-cards'

<RNExpandableCards data={dataArray} />

Props

PropTypeRequired
dataArrayYes
onMainFooterLeftButtonPressFunctionNo
mainFooterLeftButtonTextTextNo
onMainFooterRightButtonPressFunctionNo
mainFooterRightButtonTextTextNo
onMainFooterButtonPressFunctionNo

Screenshots

alt rnExpandableCards

alt rnExpandableCards

Enjoy it!.

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago