@orca-fe/pdf-viewer
Version:
PDF Viewer
10 lines (9 loc) • 355 B
TypeScript
import type { ContextMenuItemType } from '@orca-fe/pocket';
type MenuItemType = ContextMenuItemType & {
order?: number;
};
export interface PDFContextMenuPluginProps {
menu?: MenuItemType[] | ((page: number) => MenuItemType[]);
}
declare const PDFContextMenuPlugin: (props: PDFContextMenuPluginProps) => null;
export default PDFContextMenuPlugin;