UNPKG

@fesjs/fes-design

Version:
86 lines (85 loc) 2.01 kB
import type { PropType } from 'vue'; import type { ExtractPublicPropTypes } from '../_util/interface'; import { PROGRESS_TYPE } from './const'; type ProgressType = 'line' | 'circle'; export declare const lineProgressProps: { showInnerPercent: { type: BooleanConstructor; default: boolean; }; showOutPercent: { type: BooleanConstructor; default: boolean; }; height: { type: NumberConstructor; default: number; }; percent: { type: NumberConstructor; default: number; }; color: { type: StringConstructor; }; }; export declare const circleProgressProps: { width: { type: NumberConstructor; default: number; }; circleSize: { type: NumberConstructor; default: number; }; showCircleText: { type: BooleanConstructor; default: boolean; }; percent: { type: NumberConstructor; default: number; }; color: { type: StringConstructor; }; }; export declare const progressProps: { readonly type: { readonly type: PropType<ProgressType>; readonly default: PROGRESS_TYPE.LINE; }; readonly width: { type: NumberConstructor; default: number; }; readonly circleSize: { type: NumberConstructor; default: number; }; readonly showCircleText: { type: BooleanConstructor; default: boolean; }; readonly percent: { type: NumberConstructor; default: number; }; readonly color: { type: StringConstructor; }; readonly showInnerPercent: { type: BooleanConstructor; default: boolean; }; readonly showOutPercent: { type: BooleanConstructor; default: boolean; }; readonly height: { type: NumberConstructor; default: number; }; }; export type ProgressProps = ExtractPublicPropTypes<typeof progressProps>; export {};