1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
  | export interface TdBadgeProps { 
 |      color?: { 
 |          type: StringConstructor; 
 |          value?: string; 
 |      }; 
 |      content?: { 
 |          type: StringConstructor; 
 |          value?: string; 
 |      }; 
 |      count?: { 
 |          type: null; 
 |          value?: string | number; 
 |      }; 
 |      dot?: { 
 |          type: BooleanConstructor; 
 |          value?: boolean; 
 |      }; 
 |      externalClasses?: { 
 |          type: ArrayConstructor; 
 |          value?: ['t-class', 't-class-content', 't-class-count']; 
 |      }; 
 |      maxCount?: { 
 |          type: NumberConstructor; 
 |          value?: number; 
 |      }; 
 |      offset?: { 
 |          type: ArrayConstructor; 
 |          value?: Array<string | number>; 
 |      }; 
 |      shape?: { 
 |          type: StringConstructor; 
 |          value?: 'circle' | 'square' | 'bubble' | 'ribbon'; 
 |      }; 
 |      showZero?: { 
 |          type: BooleanConstructor; 
 |          value?: boolean; 
 |      }; 
 |      size?: { 
 |          type: StringConstructor; 
 |          value?: 'medium' | 'large'; 
 |      }; 
 |  } 
 |  
  |