Card
归组相关内容和控件。
用法
组合相关信息和操作,并使用合适的标题。
无障碍
卡片中已有控件时,避免令整张卡片可点击。
| 属性 | 类型 | 默认值 |
|---|---|---|
| children | ReactNode | None |
| className | string | None |
| style | CSSProperties | None |
| ref | HTMLDivElement | None |
<Card>
<Badge tone="accent">Active</Badge>
<h3>Interaction Inspector</h3>
<p>A clearer view of every interaction.</p>
<span>Updated just now</span>
</Card>