-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.d.ts
65 lines (60 loc) · 1.39 KB
/
types.d.ts
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import * as React from 'react';
export interface CircularProgressProps {
/**
* progress icon key from icons config (@idui/react-icon => configureIcons)
* @default progressCircle
*/
name?: string;
/**
* progress icon size
* @default 3rem
*/
size?: string;
/**
* progress animation duration in ms
* @default 1500
*/
duration?: number;
/**
* progress icon color
* @default #9552D4
*/
color?: string;
/**
* Progress className
*/
className?: string;
}
export class CircularProgress extends React.Component<CircularProgressProps> {}
export interface LinearProgressProps {
/**
* progress bar color
* @default #9552D4
*/
color?: string;
/**
* progress line height if horizontal or progress line width if vertical
* @default 0.5rem
*/
size?: string;
/**
* progress line width if horizontal or progress line height if vertical
* @default 100%
*/
length?: string;
/**
* progress animation duration in ms
* @default 1500
*/
duration?: number;
/**
* Progress className
*/
className?: string;
/**
* progress line orientation
* @default horizontal
*/
orientation?: 'horizontal' | 'vertical';
}
export class LinearProgress extends React.Component<LinearProgressProps> {}