1.0.1 • Published 2 years ago

drill_in_cards_test v1.0.1

Weekly downloads
-
License
Chevron Inc.
Repository
github
Last release
2 years ago

drill_in_cards_component

Component used to display a list of data in a user interface.

Example :-------------------------: npm.io

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

NameDescriptionDefaultType
titletitle of the card componentstring
subtitlesubtitle of the card componentstring
onPressFunction called when the card is pressedany
disabledColor and functionality change when this option is enabledfalseboolean

Author

Hugo Lopez

License

Chevron Inc.

Copy Right


Copyright © 2022 by Chevron.