react-native-cardview-infotechbite

1.0.9 • Public • Published

This is cardview library that will provides cardview for both android and iOS.

How to use this library

install the package by hit command "npm install react-native-cardview-infotechbite"

import Cardview from 'react-native-cardview-infotechbite';

        <Cardview
        shadowColor={'#000000'} // if you want to apply shadow color to cardview then pass color code here (optional)
        backgroundColor={'#00000009'} 
        borderRadius: 5, //optional
        // pass the component to view property which shows inside cardview 
        view={renderCard} />

      function renderCard(){
        return(
            <Text>This is cardview content</Text>
        )
      }

      

Package Sidebar

Install

npm i react-native-cardview-infotechbite

Weekly Downloads

4

Version

1.0.9

License

ISC

Unpacked Size

2.19 kB

Total Files

3

Last publish

Collaborators

  • infotechbite