-
-
Notifications
You must be signed in to change notification settings - Fork 160
Expand file tree
/
Copy pathinterface.ts
More file actions
25 lines (20 loc) · 654 Bytes
/
interface.ts
File metadata and controls
25 lines (20 loc) · 654 Bytes
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
import type * as React from 'react';
export interface ProgressProps {
strokeWidth?: number;
trailWidth?: number;
className?: string;
percent?: number | number[];
strokeColor?: StrokeColorType;
trailColor?: string;
strokeLinecap?: StrokeLinecapType;
prefixCls?: string;
style?: React.CSSProperties;
gapDegree?: number;
gapPosition?: GapPositionType;
transition?: string;
dot?: DotType;
}
export type StrokeColorType = string | string[] | object;
export type GapPositionType = 'top' | 'right' | 'bottom' | 'left';
export type StrokeLinecapType = 'round' | 'butt' | 'square';
export type DotType = boolean | { size: number };