@minto-ai/mt-ui
Version:
UI组件库
48 lines (47 loc) • 1.32 kB
TypeScript
import { PropType, SVGAttributes } from 'vue';
declare const progressTypes: readonly ["line", "circle", "dashboard"];
declare const progressStatus: readonly ["default", "success", "exception", "warning"];
type ProgressTypes = typeof progressTypes[number];
type ProgressStatus = typeof progressStatus[number];
declare const progressProps: {
type: {
type: PropType<ProgressTypes>;
default: "line";
values: readonly ["line", "circle", "dashboard"];
};
percentage: {
type: NumberConstructor;
default: number;
validator: (value: number) => boolean;
};
status: {
type: PropType<ProgressStatus>;
default: "default";
values: readonly ["default", "success", "exception", "warning"];
};
strokeWidth: {
type: NumberConstructor;
default: number;
};
showText: {
type: BooleanConstructor;
default: boolean;
};
textInside: {
type: BooleanConstructor;
default: boolean;
};
width: {
type: NumberConstructor;
default: number;
};
strokeLinecap: {
type: PropType<SVGAttributes["stroke-linecap"]>;
default: string;
};
color: {
type: StringConstructor;
default: string;
};
};
export { progressProps, };