CardActions
import { Card, CardActions } from 'wisteria-ui';
用法
<Card style={{ width: '50%' }}>
<Card.Title title="Card Actions" />
<Card.Actions placement="right">
<Button variant="text">SHARE</Button>
<Button variant="text">LIKE</Button>
</Card.Actions>
</Card>
API
属性 | 说明 | 类型 | 默认值 |
---|---|---|---|
style | 样式 | CSSProperties | - |
className | 类名 | string | - |
children | 子元素 | ComponentChild | - |
placement | 对齐位置 | left | right | left |