UNPKG

t-fighting-design

Version:

Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.

35 lines (34 loc) 1.05 kB
import type { PropType, ExtractPropTypes } from 'vue'; import type { BadgeType } from './interface'; export declare const Props: { readonly value: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly max: { readonly type: NumberConstructor; readonly default: () => number; }; readonly dot: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly show: { readonly type: BooleanConstructor; readonly default: () => boolean; }; readonly type: { readonly type: PropType<BadgeType>; readonly default: () => BadgeType; readonly validator: (val: BadgeType) => boolean; }; readonly color: { readonly type: StringConstructor; readonly default: () => string; }; readonly textColor: { readonly type: StringConstructor; readonly default: () => string; }; }; export declare type BadgePropsType = ExtractPropTypes<typeof Props>;