UNPKG

radix-vue

Version:

Vue port for Radix UI Primitives.

27 lines (26 loc) 1.07 kB
import { MenuItemEmits, MenuItemProps } from '../Menu'; export type DropdownMenuItemEmits = MenuItemEmits; export interface DropdownMenuItemProps extends MenuItemProps { } declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToOption<DropdownMenuItemProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { select: (event: Event) => void; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<DropdownMenuItemProps>>> & { onSelect?: ((event: Event) => any) | undefined; }, {}, {}>, { default?(_: {}): any; }>; export default _default; type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; type __VLS_TypePropsToOption<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: import('vue').PropType<T[K]>; required: true; }; }; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };