vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
17 lines (16 loc) • 809 B
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
import { ConfigurableProps } from '@vexip-ui/config';
import { ProgressSlots } from './symbol';
export declare const progressProps: {
inherit: PropType<boolean>;
percentage: PropType<number>;
state: PropType<"default" | "success" | "error" | "warning">;
strokeWidth: PropType<number>;
infoType: PropType<"none" | "inside" | "outside" | "bubble" | "bubble-top" | "bubble-bottom">;
precision: PropType<number>;
activated: PropType<boolean>;
strokeColor: PropType<string | [string, string] | ((percentage: number) => string | [string, string])>;
slots: PropType<ProgressSlots>;
};
export type ProgressProps = ExtractPropTypes<typeof progressProps>;
export type ProgressCProps = ConfigurableProps<ProgressProps, 'percentage'>;