1.0.2 • Published 5 years ago
rn-expandable-cards v1.0.2
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
| Prop | Type | Required |
|---|---|---|
| data | Array | Yes |
| onMainFooterLeftButtonPress | Function | No |
| mainFooterLeftButtonText | Text | No |
| onMainFooterRightButtonPress | Function | No |
| mainFooterRightButtonText | Text | No |
| onMainFooterButtonPress | Function | No |
Screenshots


Enjoy it!.