comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
18 lines (16 loc) • 501 B
TypeScript
import { Component, ExtractPropTypes, PropType } from 'vue';
type ContextMenus = {
label?: string;
value: any;
icon?: Component;
callback?: () => void;
}[] | string[];
export declare const contextmenuProps: {
readonly menus: PropType<ContextMenus>;
};
export type ContextmenuProps = ExtractPropTypes<typeof contextmenuProps>;
export declare const contextmenuEmits: {
'menu-click': (value: any) => boolean;
};
export type ContextmenuEmits = typeof contextmenuEmits;
export {};