@labrnth/card
v0.1.0
Published
A card component.
Downloads
4
Readme
@labrnth/card
A card component.
Installation
yarn add @labrnth/card
Usage
import Card from '@labrnth/card';
<Card />
Props
| Prop | Type | Default | Description |
| ------------- | ----------------- | ------- | ------------------------------------------- |
| withBoxShadow | boolean
| false
| Whether to apply a box shadow to the card. |
| component | any
| aside
| The underlying component wrapping the card. |
| children | React.ReactNode
| | The contents of the card. |