1.0.1 • Published 2 years ago
drill_in_cards_test v1.0.1
drill_in_cards_component
Component used to display a list of data in a user interface.
Example :-------------------------:
Installation
If using yarn:
yarn add drill_in_cards
If using npm:
npm i drill_in_cards
Usage
import { Card } from 'drill_in_cards'
Simply place a <Card />
tag
<Card
title={item.title}
subtitle={item.subtitle}
onPress={() => navigation.navigate(item.screen)}
disabled={item.disabled}
/>
Documentation
Drill in Cards Component
Name | Description | Default | Type |
---|---|---|---|
title | title of the card component | string | |
subtitle | subtitle of the card component | string | |
onPress | Function called when the card is pressed | any | |
disabled | Color and functionality change when this option is enabled | false | boolean |
Author
Hugo Lopez
License
Chevron Inc.
Copy Right
Copyright © 2022 by Chevron.
1.0.1
2 years ago