UNPKG

ketcher-react

Version:
11 lines (10 loc) 463 B
import { AtomContextMenuProps, MenuItemsProps } from '../contextMenu.types'; import { Editor } from 'src/script/editor'; import { ReactNode } from 'react'; declare type Props = { props: MenuItemsProps<AtomContextMenuProps>; selectedAtomId: number | undefined; editor: Editor; }; declare const useMakeAttachmentPointMenuItems: ({ props, selectedAtomId, editor, }: Props) => ReactNode[] | null; export default useMakeAttachmentPointMenuItems;