UNPKG

@ark-ui/vue

Version:

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

28 lines (27 loc) 937 B
import { ItemProps } from '@zag-js/menu'; import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue'; import { PolymorphicProps } from '../factory'; export interface MenuItemBaseProps extends ItemProps, PolymorphicProps { } export interface MenuItemProps extends MenuItemBaseProps, /** * @vue-ignore */ Omit<HTMLAttributes, 'onSelect'> { } declare const _default: __VLS_WithTemplateSlots< DefineComponent<MenuItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & { select: () => any; }, string, PublicProps, Readonly<MenuItemProps> & Readonly<{ onSelect?: (() => any) | undefined; }>, { disabled: boolean; closeOnSelect: boolean; }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, { default?(_: {}): any; }>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };