drill_in_cards
v1.0.16
Published
Component used to display a list of data in a user interface.
Downloads
8
Maintainers
Readme
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.