From 3361089ce73e0b51920cfb4d9ac90a559df8f40b Mon Sep 17 00:00:00 2001 From: Ray Nicholus Date: Tue, 27 Sep 2016 14:26:01 -0500 Subject: [PATCH] fix(ResizableBox.jsx): Unknown prop `onResize` "Unknown prop `onResize` on
tag" reported by React 15.x. --- lib/ResizableBox.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ResizableBox.jsx b/lib/ResizableBox.jsx index 11e7d906..8daa7e58 100644 --- a/lib/ResizableBox.jsx +++ b/lib/ResizableBox.jsx @@ -35,7 +35,7 @@ export default class ResizableBox extends React.Component { // Basic wrapper around a Resizable instance. // If you use Resizable directly, you are responsible for updating the child component // with a new width and height. - const {handleSize, onResizeStart, onResizeStop, draggableOpts, + const {handleSize, onResize, onResizeStart, onResizeStop, draggableOpts, minConstraints, maxConstraints, lockAspectRatio, width, height, ...props} = this.props; return (