You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
---
|
|
|
|
category: Components
|
|
|
|
type: Views
|
|
|
|
title: Card
|
|
|
|
cols: 1
|
|
|
|
---
|
|
|
|
|
|
|
|
Common card container.
|
|
|
|
|
|
|
|
## When to use
|
|
|
|
|
|
|
|
The most basic card container. You can use it to contain text, lists, pictures and paragraphs.
|
|
|
|
|
|
|
|
## API
|
|
|
|
|
|
|
|
```html
|
|
|
|
<Card title="Card title">Card content</Card>
|
|
|
|
```
|
|
|
|
|
|
|
|
| Property | Description | Type | Default |
|
|
|
|
|----------|----------------|----------|--------------|
|
|
|
|
| title | Card title | React.Element | - |
|
|
|
|
| extra | Corner content of card | React.Element | - |
|
|
|
|
| bordered | Whether a border is set | Boolean | true |
|
|
|
|
| bodyStyle | Custom style for content area | Object | - |
|