@variantjs/vue
Version:
Vue VariantJS: Fully configurable Vue 3 components styled with TailwindCSS
12 lines (11 loc) • 554 B
TypeScript
import { Data, WithVariantProps } from '@variantjs/core';
import { InputHTMLAttributes } from 'vue';
import { ObjectWithProperties } from '../helpers';
declare type TCheckboxSimpleValue = string | number | boolean | undefined | null | Date | Function | symbol;
export declare type TCheckboxValue = TCheckboxSimpleValue | TCheckboxSimpleValue[] | ObjectWithProperties<TCheckboxSimpleValue>;
export declare type TCheckboxOptions = WithVariantProps<{
modelValue?: TCheckboxValue;
} & InputHTMLAttributes & {
type?: 'checkbox';
} & Data>;
export {};