t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
56 lines (55 loc) • 1.72 kB
TypeScript
import type { PropType, ExtractPropTypes } from 'vue';
import type { ProgressType } from './interface';
export declare const Props: {
readonly percentage: {
readonly type: NumberConstructor;
readonly default: () => number;
readonly validator: (val: number) => boolean;
};
readonly type: {
readonly type: PropType<ProgressType>;
readonly default: () => ProgressType;
readonly validator: (val: ProgressType) => boolean;
};
readonly square: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly linear: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly showText: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly textColor: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly color: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly background: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly width: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly height: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly stripe: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly textInside: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
};
export declare type ProgressPropsType = ExtractPropTypes<typeof Props>;