mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 19:50:05 +08:00
628 B
628 B
category | type | title | cols |
---|---|---|---|
Components | Presentation | Card | 1 |
Common card container.
When to use
The most basic card container. You can use it to contain text, lists, pictures and paragraphs.
API
<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 | - |