@nuxtwind/components
Version:
Component Library for Nuxt 3 using TailwindCSS
41 lines (40 loc) • 1.43 kB
TypeScript
import type { CheckboxgroupProps } from '../types/props.js';
interface RequiredCheckboxProps extends CheckboxgroupProps {
modelValue: boolean[];
items: {
label?: string;
description?: string;
color?: {
label?: string;
description?: string;
iconInactive?: string;
iconActive?: string;
hover?: string;
};
text?: {
label?: string;
description?: string;
};
disabled?: boolean;
loading?: boolean;
}[];
}
declare var __VLS_1: {}, __VLS_3: {};
type __VLS_Slots = {} & {
'group-label'?: (props: typeof __VLS_1) => any;
} & {
'group-description'?: (props: typeof __VLS_3) => any;
};
declare const __VLS_base: import("vue").DefineComponent<RequiredCheckboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"update:modelValue": (id: boolean[]) => any;
}, string, import("vue").PublicProps, Readonly<RequiredCheckboxProps> & Readonly<{
"onUpdate:modelValue"?: ((id: boolean[]) => 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;
};
};