yozora-vue
Version:
Build beautiful, scalable UIs effortlessly with Yozora, a Vue 3 and Tailwind CSS component library focused on flexibility, responsiveness, and ease of customization. Perfect for developers seeking fast, maintainable, and utility-first design integration.
41 lines (40 loc) • 1.58 kB
TypeScript
/**
* Props for the SelectInput component.
* @prop {string} modelValue - The model value of the select input. Default is undefined.
* @prop {string} size - The size of the select input. Default is 'md'.
* @prop {boolean} small - (deprecated) Use `size="sm"` instead.
* @prop {boolean} disabled - The disabled state of the select input. Default is false.
*/
interface SelectInputProps {
modelValue: string | undefined | number;
size?: 'sm' | 'md' | 'lg';
/** @deprecated Use `size="sm"` instead. */
small?: boolean;
disabled?: boolean;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: HTMLSelectElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import("vue").DefineComponent<SelectInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"update:modelValue": (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<SelectInputProps> & Readonly<{
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
size: "sm" | "md" | "lg";
small: boolean;
disabled: boolean;
modelValue: string | undefined | number;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLSelectElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};