UNPKG

vuestic-ui

Version:
11 lines (10 loc) 430 B
import { VaMenu } from '../va-menu'; import { ExtractComponentPropTypes } from '../../../utils/component-options'; type OmitMenuProps = 'modelValue' | 'anchor' | 'cursor' | 'stateful' | 'preset'; /** This hook can be used without plugin used */ export declare const useMenu: () => { show: (props: Omit<ExtractComponentPropTypes<typeof VaMenu>, OmitMenuProps> & { event: MouseEvent; }) => () => void; }; export {};