first commit
This commit is contained in:
26
frontend/node_modules/rc-progress/es/interface.d.ts
generated
vendored
Normal file
26
frontend/node_modules/rc-progress/es/interface.d.ts
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
/// <reference types="react" />
|
||||
export interface ProgressProps {
|
||||
id?: string;
|
||||
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;
|
||||
onClick?: React.MouseEventHandler;
|
||||
steps?: number | {
|
||||
count: number;
|
||||
gap: number;
|
||||
};
|
||||
}
|
||||
export type StrokeColorObject = Record<string, string>;
|
||||
export type BaseStrokeColorType = string | StrokeColorObject;
|
||||
export type StrokeColorType = BaseStrokeColorType | BaseStrokeColorType[];
|
||||
export type GapPositionType = 'top' | 'right' | 'bottom' | 'left';
|
||||
export type StrokeLinecapType = 'round' | 'butt' | 'square';
|
||||
Reference in New Issue
Block a user