tdesign-vue-next
Version:
TDesign Component for vue-next
14 lines (13 loc) • 470 B
TypeScript
import { TNode } from '../common';
export interface TdProgressProps {
color?: string | Array<string> | Record<string, string>;
label?: string | boolean | TNode;
percentage?: number;
size?: string | number;
status?: ProgressStatus;
strokeWidth?: string | number;
theme?: ProgressTheme;
trackColor?: string;
}
export type ProgressStatus = 'success' | 'error' | 'warning' | 'active';
export type ProgressTheme = 'line' | 'plump' | 'circle';