0.1.0 • Published 5 years ago
@labrnth/card v0.1.0
@labrnth/card
A card component.
Installation
yarn add @labrnth/cardUsage
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. |
0.1.0
5 years ago