Description:
A simple, customizable, animated category card component for React Native.
Install & Import:
# Yarn $ yarn add react-native-category-card # NPM $ npm i react-native-category-card --save
import CategoryCard from "react-native-category-card";
Basic Usage:
<CategoryCard onPress={() => console.log("Fruits")} />Component Props:
count: 10,
borderRadius: 32,
height: 80,
shadowColor: '#757575',
backgroundColor: '#fff',
width: ScreenWidth * 0.8,
disableCountContainer: false,
descriptionText: 'Fresh Food',
disableDescriptionText: false,
titleText: 'Fruit & Vegetables',
gradientColors: ['#9CF4DF', '#30C9E8', '#107C91'],
rightButtonImageSource: require('../asset/next.png'),