t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
32 lines (31 loc) • 1.13 kB
TypeScript
import type { RendererNode, RendererElement, ComputedOptions, MethodOptions, ExtractPropTypes, PropType, VNode, Component } from 'vue';
import type { HandleEventInterface } from '../../_interface';
export declare const Props: {
readonly size: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly round: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly color: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly icon: {
readonly type: PropType<VNode<RendererNode, RendererElement, {
[key: string]: any;
}> | Component<any, any, any, ComputedOptions, MethodOptions>>;
readonly default: () => null;
};
readonly click: {
readonly type: PropType<HandleEventInterface>;
readonly default: () => null;
};
};
export declare type CloseBtnPropsType = ExtractPropTypes<typeof Props>;