Appearance
用于标记状态、分类或属性。
import { Tag } from '@kupola/components/tag' const tag = Tag({ text: '启用', type: 'brand', closable: true, }) document.body.appendChild(tag.element)
close()
destroy()