UNPKG

comic-plus

Version:

<p align="center"> <img width="200px" src="./logo.png"/> </p>

34 lines (32 loc) 1.1 kB
import { PropType, ExtractPropTypes } from 'vue'; import { ComicType } from '../../../utils'; type Colors = string | Record<string, string> | ((value: number) => string); export declare const progressProps: { readonly progress: { readonly type: NumberConstructor; readonly default: 0; }; readonly type: { readonly type: PropType<ComicType>; readonly default: "primary"; }; readonly barType: { readonly type: PropType<"line" | "line-trends" | "circle" | "trends">; readonly default: "line"; }; readonly status: PropType<"success" | "warning" | "fail">; readonly size: { readonly type: PropType<string | number>; readonly default: "120"; }; readonly barWidth: NumberConstructor; readonly colors: PropType<Colors>; readonly insetFormat: BooleanConstructor; readonly format: StringConstructor; readonly showText: { readonly type: BooleanConstructor; readonly default: true; }; }; export type ProgressProps = ExtractPropTypes<typeof progressProps>; export {};