UNPKG

t-fighting-design

Version:

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

136 lines (135 loc) 5.25 kB
import type { DefineComponent, PropType, VNode, RendererNode, RendererElement, Component, ComputedOptions, MethodOptions, ComputedRef, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, EmitsOptions } from 'vue'; import type { InstallType, HandleEventInterface, ClassListInterface } from '../_interface'; import CloseBtn from "./src/close-btn"; export declare const FCloseBtn: InstallType<DefineComponent<{ 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; }; }, { prop: { readonly size?: unknown; readonly round?: unknown; readonly disabled?: unknown; readonly color?: unknown; readonly icon?: unknown; readonly click?: unknown; } & { round: boolean; color: string; size: string | number; disabled: boolean; icon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; click: HandleEventInterface; } & {}; handleClick: HandleEventInterface; classList: ComputedRef<ClassListInterface>; FSvgIcon: InstallType<DefineComponent<{ readonly icon: { readonly type: PropType<VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>>; readonly default: () => null; }; readonly color: { readonly type: StringConstructor; readonly default: () => string; }; readonly size: { readonly type: PropType<string | number>; readonly default: () => string; }; readonly click: { readonly type: PropType<HandleEventInterface>; readonly default: () => null; }; }, { prop: { readonly icon?: unknown; readonly color?: unknown; readonly size?: unknown; readonly click?: unknown; } & { color: string; size: string | number; icon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; click: HandleEventInterface; } & {}; handleClick: HandleEventInterface; styleList: ComputedRef<CSSProperties>; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{ readonly icon?: unknown; readonly color?: unknown; readonly size?: unknown; readonly click?: unknown; } & { color: string; size: string | number; icon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; click: HandleEventInterface; } & {}>, { color: string; size: string | number; icon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; click: HandleEventInterface; }>>; FIconCrossVue: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, EmitsOptions, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{} & {} & {}>, {}>; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{ readonly size?: unknown; readonly round?: unknown; readonly disabled?: unknown; readonly color?: unknown; readonly icon?: unknown; readonly click?: unknown; } & { round: boolean; color: string; size: string | number; disabled: boolean; icon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; click: HandleEventInterface; } & {}>, { round: boolean; color: string; size: string | number; disabled: boolean; icon: VNode<RendererNode, RendererElement, { [key: string]: any; }> | Component<any, any, any, ComputedOptions, MethodOptions>; click: HandleEventInterface; }>>; export declare type CloseBtnInstance = InstanceType<typeof CloseBtn>; export * from './src/interface.d'; export default CloseBtn;