react-native-cardview-infotechbite
v1.0.9
Published
This is cardview that work on both android and iOS
Downloads
5
Maintainers
Readme
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>
)
}