title |
---|
Badge 徽标 |
import { Badge, Button } from '@tarojsx/ui'; import { UI } from '@/ui';
<Badge value={10}>
<Button size="small">按钮</Button>
</Badge>
<Badge value={100} maxValue={99}>
<Button size="small">按钮</Button>
</Badge>
<Badge dot>
<Button size="small">按钮</Button>
</Badge>
<Badge value="NEW">
<Button size="small">按钮</Button>
</Badge>