ShouldResize
The ShouldResize type is a callback that fires whenever a node is about to be resized by
a <NodeResizer /> component, and is used to determine whether the node may be resized.
If this callback returns false, the resize is skipped and the
OnResize callback will not be invoked.
type ShouldResize = (event: ResizeDragEvent, params: ResizeParamsWithDirection) => boolean;| Name | Type | Default |
|---|---|---|
event | ResizeDragEvent | |
params | ResizeParamsWithDirection |