README
react-native-cardstack-view
An easy way to add card stack view component to your iOS, Android and Expo application that uses React Native. ⚛️ + 📱
Installation
using Yarn
yarn add react-native-cardstack-view
using npm
npm install --save react-native-cardstack-view
react native link
react-native link
Usage
Example:
import CardStackView from 'react-native-cardstack-view';
<View style={styles.container}>
<CardsView backgroundColor="#4545aa">
<Text>Hola!</Text>
</CardStackView>
</View>
Note: it will not render correctly until you provide a backgroundColor
prop. It accepts children props so you can manipulate and style the text inside accordingly.
Built With
- Create React Native App
- React Native
License
This project is licensed under the MIT License - see the LICENSE file for more details.