UNPKG

@variantjs/vue

Version:

Vue VariantJS: Fully configurable Vue 3 components styled with TailwindCSS

13 lines (12 loc) 614 B
import { Data, InputOptions, NormalizedOption, NormalizedOptions, WithVariantProps } from '@variantjs/core'; import { SelectHTMLAttributes } from 'vue'; import { Truthy } from '../misc'; export declare type TSelectValue = string | number | boolean | undefined | null | Date | Function | symbol | TSelectValue[]; export declare type TSelectOptions = WithVariantProps<{ modelValue?: TSelectValue; options?: InputOptions | NormalizedOption[] | NormalizedOptions; multiple?: Truthy; normalizeOptions?: boolean; valueAttribute?: string; textAttribute?: string; } & SelectHTMLAttributes & Data>;