37 lines
585 B
Markdown
37 lines
585 B
Markdown
|
`Card` (component)
|
||
|
==================
|
||
|
|
||
|
A basic card component with a header. The header can contain a title, an action, and an `EllipsisMenu` menu.
|
||
|
|
||
|
Props
|
||
|
-----
|
||
|
|
||
|
### `action`
|
||
|
|
||
|
- Type: ReactNode
|
||
|
- Default: null
|
||
|
|
||
|
One "primary" action for this card, appears in the card header.
|
||
|
|
||
|
### `className`
|
||
|
|
||
|
- Type: String
|
||
|
- Default: null
|
||
|
|
||
|
Additional CSS classes.
|
||
|
|
||
|
### `menu`
|
||
|
|
||
|
- Type: (custom validator)
|
||
|
- Default: null
|
||
|
|
||
|
An `EllipsisMenu`, with filters used to control the content visible in this card
|
||
|
|
||
|
### `title`
|
||
|
|
||
|
- Type: One of type: string, node
|
||
|
- Default: null
|
||
|
|
||
|
The title to use for this card.
|
||
|
|