UNPKG

566 BTypeScriptView Raw
1import { ElementUIComponent, ElementUIComponentSize } from './component'
2
3export type TagType = 'primary' | 'gray' | 'success' | 'warning' | 'danger'
4
5/** Tag Component */
6export declare class ElTag extends ElementUIComponent {
7 /** Theme */
8 type: TagType
9
10 /** Whether Tab can be removed */
11 closable: boolean
12
13 /** Whether the removal animation is disabled */
14 disableTransitions: boolean
15
16 /** Whether Tag has a highlighted border */
17 hit: boolean
18
19 /** Background color of the tag */
20 color: string
21
22 /** Tag size */
23 size: ElementUIComponentSize
24}