t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
43 lines (42 loc) • 1.32 kB
TypeScript
import type { PropType, ExtractPropTypes } from 'vue';
import type { ToolbarType, ToolbarClickInterface } from './interface';
export declare const Props: {
readonly round: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly size: {
readonly type: PropType<ToolbarType>;
readonly default: () => ToolbarType;
readonly validator: (val: ToolbarType) => boolean;
};
readonly block: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly background: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly textColor: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly fixed: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly width: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly height: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly click: {
readonly type: PropType<ToolbarClickInterface>;
readonly default: () => null;
};
};
export declare type ToolbarPropsType = ExtractPropTypes<typeof Props>;