1 |
|
2 |
|
3 | import * as React from 'react';
|
4 | import CommonProps from '../util';
|
5 |
|
6 | export interface LoadingProps extends React.HTMLAttributes<HTMLElement>, CommonProps {
|
7 | |
8 |
|
9 |
|
10 | prefix?: string;
|
11 |
|
12 | |
13 |
|
14 |
|
15 | tip?: React.ReactNode;
|
16 |
|
17 | |
18 |
|
19 |
|
20 | tipAlign?: 'right' | 'bottom';
|
21 |
|
22 | |
23 |
|
24 |
|
25 | visible?: boolean;
|
26 |
|
27 | |
28 |
|
29 |
|
30 | className?: string;
|
31 |
|
32 | |
33 |
|
34 |
|
35 | style?: React.CSSProperties;
|
36 |
|
37 | |
38 |
|
39 |
|
40 | size?: 'large' | 'medium';
|
41 |
|
42 | |
43 |
|
44 |
|
45 | indicator?: React.ReactNode;
|
46 |
|
47 | |
48 |
|
49 |
|
50 | color?: string;
|
51 |
|
52 | |
53 |
|
54 |
|
55 | fullScreen?: boolean;
|
56 | |
57 |
|
58 |
|
59 | disableScroll?: boolean;
|
60 | |
61 |
|
62 |
|
63 | children?: React.ReactNode;
|
64 |
|
65 | |
66 |
|
67 |
|
68 | inline?: boolean;
|
69 | }
|
70 |
|
71 | export default class Loading extends React.Component<LoadingProps, any> {}
|