|
7 | 7 | | actions | The action list, shows at the bottom of the Card. | slot | - |
|
8 | 8 | | bodyStyle | Inline style to apply to the card content | object | - |
|
9 | 9 | | bordered | Toggles rendering of the border around the card | boolean | `true` |
|
10 |
| -| cover | Card cover | ReactNode | - | |
11 |
| -| extra | Content to render in the top-right corner of the card | string\|ReactNode | - | |
| 10 | +| cover | Card cover | slot | - | |
| 11 | +| extra | Content to render in the top-right corner of the card | string\|slot | - | |
12 | 12 | | hoverable | Lift up when hovering card | boolean | false |
|
13 | 13 | | loading | Shows a loading indicator while the contents of the card are being fetched | boolean | false |
|
14 | 14 | | tabList | List of TabPane's head. | Array<{key: string, tab: ReactNode}> | - |
|
15 | 15 | | activeTabKey | Current TabPane's key | string | - |
|
16 | 16 | | defaultActiveTabKey | Initial active TabPane's key, if `activeTabKey` is not set. | string | - |
|
17 |
| -| title | Card title | string\|ReactNode | - | |
| 17 | +| title | Card title | string\|slot | - | |
18 | 18 | | type | Card style type, can be set to `inner` or not set | string | - |
|
19 | 19 | | onTabChange | Callback when tab is switched | (key) => void | - |
|
20 | 20 |
|
|
29 | 29 |
|
30 | 30 | | Property | Description | Type | Default |
|
31 | 31 | | -------- | ----------- | ---- | ------- |
|
32 |
| -| avatar | avatar or icon | ReactNode | - | |
| 32 | +| avatar | avatar or icon | slot | - | |
33 | 33 | | className | className of container | string | - |
|
34 |
| -| description | description content | ReactNode | - | |
| 34 | +| description | description content | slot | - | |
35 | 35 | | style | style object of container | object | - |
|
36 |
| -| title | title content | ReactNode | - | |
| 36 | +| title | title content | slot | - | |
0 commit comments