import { Card, Cover, Space } from '@stash/ui' import { Demo } from '../components/Demo' import { PropsTable } from '../components/PropsTable' import { Section } from '../components/Section' /** 演示用的渐变色块,避免依赖外部图片 */ const swatch = (from: string, to: string) => `data:image/svg+xml;utf8,${encodeURIComponent( ``, )}` export function Covers() { return (
`} >
`} > undefined} /> void', desc: '传了就把整块变成按钮' }, ]} />
) }