reactflow-velocity
Version:
React Flow - A highly customizable React library for building node-based editors and interactive flow charts.
12 lines • 412 B
TypeScript
import type { OnSelectionChangeFunc } from '../types';
export type UseOnSelectionChangeOptions = {
onChange: OnSelectionChangeFunc;
};
/**
* Hook for registering an onSelectionChange handler.
*
* @public
* @param params.onChange - The handler to register
*/
export declare function useOnSelectionChange({ onChange }: UseOnSelectionChangeOptions): void;
//# sourceMappingURL=useOnSelectionChange.d.ts.map