Skip to Content
参考手册类型

ResizeParams

Github 上的源代码

¥Source on Github

ResizeParams 类型用于键入 <NodeResizer /> 组件发出的各种事件。有时你还会看到此类型扩展了附加方向字段。

¥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.

export type ResizeParams = { x: number; y: number; width: number; height: number; };

字段

¥Fields

#x
number
#y
number
#width
number
#height
number