Skip to Content
React Flow 13 is here! Read the announcement →

OnResize

Source on GitHub 

The OnResize type is a callback that fires whenever a node is resized by a <NodeResizer /> component.

type OnResize = (event: ResizeDragEvent, params: ResizeParamsWithDirection) => void;
Parameters:
NameTypeDefault
eventResizeDragEvent
paramsResizeParamsWithDirection
Returns:
Result