Card component
A card component
Install
npm i @wethecurious/wtc-ui-library
Usage
Import it into your project
import { Card } from '@wethecurious/wtc-ui-library'
Prop
<Card label="Image" imageUrl="https://via.placeholder.com/150x200" /
Props
Prop | Description | Default |
---|---|---|
date | Date | |
imageUrl | Image url | |
imagePos | Image Pos | horizontal |
label | Label | false |
secondaryInfo | Secondary text |