ResizeParams
ResizeParams 类型用于对 <NodeResizer /> 组件发出的各种事件进行类型定义。你有时也会看到这个类型被扩展,增加一个 direction 字段。
🌐 The ResizeParams type is used to type the various events that are emitted by the
<NodeResizer /> component. You’ll sometimes see this type extended with an additional
direction field too.
字段
🌐 Fields
| Name | Type | Default |
|---|---|---|
x | number | |
y | number | |
width | number | |
height | number |
Last updated on