1 | import { ElementUIComponent, ElementUIComponentSize } from './component'
|
2 |
|
3 |
|
4 | export type ButtonType = 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'text'
|
5 |
|
6 |
|
7 | export type ButtonNativeType = 'button' | 'submit' | 'reset' | 'menu'
|
8 |
|
9 |
|
10 | export declare class ElButton extends ElementUIComponent {
|
11 |
|
12 | size: ElementUIComponentSize
|
13 |
|
14 |
|
15 | type: ButtonType
|
16 |
|
17 |
|
18 | plain: boolean
|
19 |
|
20 |
|
21 | round: boolean
|
22 |
|
23 |
|
24 | loading: boolean
|
25 |
|
26 |
|
27 | disabled: boolean
|
28 |
|
29 |
|
30 | icon: string
|
31 |
|
32 |
|
33 | autofocus: boolean
|
34 |
|
35 |
|
36 | nativeType: ButtonNativeType
|
37 | }
|