Card is a container for text, photos, and actions in the context of a single subject.
Install the following dependencies:
This component is based on the <div>
element and supports all of its props and adds:
Prop | Type | Default |
---|---|---|
src | string | - |
alt | string | - |
width | number | - |
height | number | - |
className | string | - |
ImageClassName | string | - |