@nuxtwind/components
Version:
Component Library for Nuxt 3 using TailwindCSS
31 lines (30 loc) • 1.23 kB
text/typescript
import type { SelectProps } from '../types/props.js';
export interface RequiredSelectProps extends SelectProps {
modelValue: string | object;
items: string[] | object[];
}
declare var __VLS_14: {}, __VLS_23: {}, __VLS_32: {}, __VLS_34: any;
type __VLS_Slots = {} & {
'prepend-icon'?: (props: typeof __VLS_14) => any;
} & {
'append-icon'?: (props: typeof __VLS_23) => any;
} & {
label?: (props: typeof __VLS_32) => any;
} & {
item?: (props: typeof __VLS_34) => any;
};
declare const __VLS_base: 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;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};