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