CardCover
import { Card, CardCover } from 'wisteria-ui';
用法
<Card style={{ width: '50%' }}>
<Card.Cover src="https://images.pexels.com/photos/17539760/pexels-photo-17539760.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1" />
</Card>
API
属性 | 说明 | 类型 | 默认值 |
---|---|---|---|
style | 样式 | CSSProperties | - |
className | 类名 | string | - |