tav-ui
Version:
50 lines (49 loc) • 1.59 kB
TypeScript
import type { CSSProperties, PropType } from 'vue';
declare type Nullable<T> = T | null;
declare type ElRef<T extends HTMLElement = HTMLDivElement> = Nullable<T>;
declare const _default: import("vue").DefineComponent<{
icon: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
color: import("vue-types").VueTypeValidableDef<string> & {
default: string;
};
size: {
type: PropType<string | number>;
default: number;
};
spin: import("vue-types").VueTypeValidableDef<boolean> & {
default: boolean;
} & {
default: boolean;
};
prefix: import("vue-types").VueTypeValidableDef<string> & {
default: string;
} & {
default: string;
};
}, {
elRef: import("vue").Ref<ElRef<HTMLDivElement>, ElRef<HTMLDivElement>>;
getWrapStyle: import("vue").ComputedRef<CSSProperties>;
isSvgIcon: import("vue").ComputedRef<boolean>;
getSvgIcon: import("vue").ComputedRef<string>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
icon?: unknown;
color?: unknown;
size?: unknown;
spin?: unknown;
prefix?: unknown;
} & {
size: string | number;
icon: string;
prefix: string;
spin: boolean;
color: string;
} & {}>, {
size: string | number;
icon: string;
prefix: string;
spin: boolean;
color: string;
}>;
export default _default;