ketcher-react
Version:
Web-based molecule sketcher
5 lines (4 loc) • 364 B
TypeScript
import { ItemEventParams, MacromoleculeContextMenuProps } from '../contextMenu.types';
declare type Params = ItemEventParams<MacromoleculeContextMenuProps>;
declare const useMonomerExpansionHandlers: () => readonly [({ props }: Params, toExpand: boolean) => void, ({ props }: Params, toExpand: boolean) => boolean];
export default useMonomerExpansionHandlers;