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.
40 lines (39 loc) • 1.47 kB
TypeScript
/**
* Props for the CheckboxInput component.
* @prop {boolean} modelValue - The model value of the checkbox. Default is false.
* @prop {boolean} disabled - If true, the checkbox is disabled. Default is false.
* @prop {string} errorMessage - The error message to display.
* @prop {string} size - The size of the checkbox. Default is 'md'.
*/
interface CheckboxInputProps {
modelValue?: boolean;
disabled?: boolean;
errorMessage?: string;
size?: 'sm' | 'md' | 'lg';
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import("vue").DefineComponent<CheckboxInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
"update:modelValue": (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<CheckboxInputProps> & Readonly<{
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
size: "sm" | "md" | "lg";
disabled: boolean;
modelValue: boolean;
errorMessage: string;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};