Header
Body
The Card component accepts the following props.
Name | Type | Required | Default | Description |
---|---|---|---|---|
children | any | null | content rendered inside the Card | |
className | string | '' | additional classes added to the Card | |
component | custom | 'article' | Sets the base component to render. defaults to article |
The CardHeader component accepts the following props.
Name | Type | Required | Default | Description |
---|---|---|---|---|
children | any | null | ||
className | string | '' | ||
component | custom | 'div' |
The CardBody component accepts the following props.
Name | Type | Required | Default | Description |
---|---|---|---|---|
children | any | null | content rendered inside the Card Body | |
className | string | '' | additional classes added to the Card Body | |
component | custom | 'div' | Sets the base component to render. defaults to div |
The CardFooter component accepts the following props.
Name | Type | Required | Default | Description |
---|---|---|---|---|
children | any | null | content rendered inside the Card Footer | |
className | string | '' | additional classes added to the Footer | |
component | custom | 'div' | Sets the base component to render. defaults to div |