t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
28 lines (27 loc) • 1.03 kB
TypeScript
import type { RendererNode, RendererElement, ComputedOptions, MethodOptions, PropType, ExtractPropTypes, VNode, Component } from 'vue';
import type { HandleEventInterface } from '../../_interface';
export declare const Props: {
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 iconSize: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly dataKey: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly click: {
readonly type: PropType<HandleEventInterface>;
readonly default: () => null;
};
};
export declare type ToolbarItemPropsType = ExtractPropTypes<typeof Props>;