react-native-cardstack-view

A Card Stack View for React Native and Expo apps.

Usage no npm install needed!

<script type="module">
  import reactNativeCardstackView from 'https://cdn.skypack.dev/react-native-cardstack-view';
</script>

README

react-native-cardstack-view

npm license code style expo code style react-native

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.

ss1

Built With

  • Create React Native App
  • React Native

License

This project is licensed under the MIT License - see the LICENSE file for more details.