chore(resizer): cleanup and add scaleControls

This commit is contained in:
moklick
2025-06-11 09:59:49 +02:00
parent 178ad01f51
commit ec3ef27c90
4 changed files with 30 additions and 14 deletions
@@ -10,6 +10,8 @@ const CustomResizerNode: FC<NodeProps> = ({ data }) => {
resizeDirection="horizontal"
minWidth={100}
maxWidth={500}
color="orange"
scaleControls
/>
<Handle type="target" position={Position.Left} />
<div>{data.label}</div>