UNPKG

radix-vue

Version:

Vue port for Radix UI Primitives.

13 lines (12 loc) 437 B
import { type Ref } from 'vue'; import type { Type } from './types'; interface Props { modelValue?: string | string[]; type: Type; defaultValue?: string | string[]; } export declare function useSingleOrMultipleValue<P extends Props, Name extends string>(props: P, emits: (name: Name, ...args: any[]) => void): { modelValue: Ref<string | string[] | undefined>; changeModelValue: (value: string) => void; }; export {};