UNPKG

@lekseek/ui

Version:

Vue 3 components library

54 lines (53 loc) 1.85 kB
declare type Props = { name: string; prefix: string; type: string; size: 'lg' | 'xs' | 'sm' | '1x' | '2x' | '3x' | '4x' | '5x' | '6x' | '7x' | '8x' | '9x' | '10x' | null; rotate: '90' | '180' | '270' | null; flip: 'horizontal' | 'vertical' | 'both' | null; pulse: boolean; spin: boolean; }; declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, { name: string; prefix: string; type: string; size: null; rotate: null; flip: null; pulse: boolean; spin: boolean; }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, { name: string; prefix: string; type: string; size: null; rotate: null; flip: null; pulse: boolean; spin: boolean; }>>>, { name: string; prefix: string; type: string; size: "xs" | "sm" | "lg" | "1x" | "2x" | "3x" | "4x" | "5x" | "6x" | "7x" | "8x" | "9x" | "10x" | null; rotate: "90" | "180" | "270" | null; flip: "horizontal" | "vertical" | "both" | null; pulse: boolean; spin: boolean; }>; export default _default; declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; declare type __VLS_TypePropsToRuntimeProps<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: import('vue').PropType<T[K]>; required: true; }; }; declare type __VLS_WithDefaults<P, D> = { [K in keyof P]: K extends keyof D ? P[K] & { default: D[K]; } : P[K]; };