import type { IG6GraphEvent } from '@antv/graphin'; import React from 'react'; import { State } from './useContextMenu'; export declare const defaultStyle: React.CSSProperties; export interface ContextMenuValue extends State { oneShow: (e: IG6GraphEvent) => void; onClose: () => void; id: string; } export interface ContextMenuProps { children: (content: ContextMenuValue) => React.ReactNode; setItem: (item: any) => void; style?: React.CSSProperties; } declare const ContextMenu: React.FunctionComponent; export default ContextMenu;