UNPKG

@ark-ui/vue

Version:

A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.

36 lines (35 loc) 1.34 kB
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; import { PolymorphicProps } from '../factory'; import { RootEmits, RootProps } from './toggle-group.types'; import { ValueChangeDetails } from '@zag-js/toggle-group'; export interface ToggleGroupRootBaseProps extends RootProps, PolymorphicProps { } export interface ToggleGroupRootProps extends ToggleGroupRootBaseProps, /** * @vue-ignore */ HTMLAttributes { } export interface ToggleGroupRootEmits extends RootEmits { } declare const _default: __VLS_WithTemplateSlots< DefineComponent<ToggleGroupRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { valueChange: (details: ValueChangeDetails) => any; "update:modelValue": (value: string[]) => any; }, string, PublicProps, Readonly<ToggleGroupRootProps> & Readonly<{ onValueChange?: ((details: ValueChangeDetails) => any) | undefined; "onUpdate:modelValue"?: ((value: string[]) => any) | undefined; }>, { disabled: boolean; multiple: boolean; deselectable: boolean; loopFocus: boolean; rovingFocus: boolean; }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, { default?(_: {}): any; }>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };