@nuxtwind/components
Version:
Component Library for Nuxt 3 using TailwindCSS
50 lines (49 loc) • 1.67 kB
TypeScript
import type { SelectProps } from '../types/props.js';
export interface RequiredSelectProps extends SelectProps {
modelValue: string | object;
items: string[] | object[];
}
declare var __VLS_14: {}, __VLS_22: {}, __VLS_30: {}, __VLS_32: {};
type __VLS_Slots = {} & {
'prepend-icon'?: (props: typeof __VLS_14) => any;
} & {
'append-icon'?: (props: typeof __VLS_22) => any;
} & {
label?: (props: typeof __VLS_30) => any;
} & {
item?: (props: typeof __VLS_32) => any;
};
declare const __VLS_component: import("vue").DefineComponent<RequiredSelectProps, {
select: import("vue").Ref<null, null>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"update:modelValue": (id: string | object) => any;
}, string, import("vue").PublicProps, Readonly<RequiredSelectProps> & Readonly<{
"onUpdate:modelValue"?: ((id: string | object) => any) | undefined;
}>, {
filled: boolean | string;
disabled: boolean;
loading: boolean;
search: boolean;
markOnFocus: boolean;
showAllOnFocus: boolean;
clearable: boolean;
outlined: boolean | string;
shadow: boolean | string;
transition: boolean | {
duration?: string;
ease?: string;
placeholder?: {
duration?: string;
ease?: string;
};
};
modelValue: string | object;
items: string[] | object[];
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};