Appearance
用于展示计数、状态或短标签。
import { Badge } from '@kupola/components/badge' const badge = Badge({ text: '12', type: 'brand', }) document.body.appendChild(badge.element)
brand
success
warning
error
info
neutral
destroy()