vuestic-ui
Version:
Vue 3 UI Framework
11 lines (10 loc) • 430 B
TypeScript
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 {};