mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-03 20:58:09 +08:00
17 lines
381 B
TypeScript
17 lines
381 B
TypeScript
|
import { ElementUIComponent } from './component'
|
||
|
|
||
|
/** Badge Component */
|
||
|
export declare class ElBadge extends ElementUIComponent {
|
||
|
/** Display value */
|
||
|
value: string | number
|
||
|
|
||
|
/** Maximum value, shows '{max}+' when exceeded. Only works if `value` is a number */
|
||
|
max: number
|
||
|
|
||
|
/** If a little dot is displayed */
|
||
|
isDot: boolean
|
||
|
|
||
|
/** Hidden badge */
|
||
|
hidden: boolean
|
||
|
}
|