UNPKG

@variantjs/vue

Version:

Vue VariantJS: Fully configurable Vue 3 components styled with TailwindCSS

12 lines (11 loc) 530 B
import { Data, WithVariantProps } from '@variantjs/core'; import { InputHTMLAttributes } from 'vue'; import { ObjectWithProperties } from '../helpers'; declare type TRadioSimpleValue = string | number | boolean | undefined | null | Date | Function | symbol; export declare type TRadioValue = TRadioSimpleValue | TRadioSimpleValue[] | ObjectWithProperties<TRadioSimpleValue>; export declare type TRadioOptions = WithVariantProps<{ modelValue?: TRadioValue; } & InputHTMLAttributes & { type?: 'radio'; } & Data>; export {};