Skip to content

Commit 3361089

Browse files
authored
fix(ResizableBox.jsx): Unknown prop onResize
"Unknown prop `onResize` on <div> tag" reported by React 15.x.
1 parent b0dea71 commit 3361089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ResizableBox.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default class ResizableBox extends React.Component {
3535
// Basic wrapper around a Resizable instance.
3636
// If you use Resizable directly, you are responsible for updating the child component
3737
// with a new width and height.
38-
const {handleSize, onResizeStart, onResizeStop, draggableOpts,
38+
const {handleSize, onResize, onResizeStart, onResizeStop, draggableOpts,
3939
minConstraints, maxConstraints, lockAspectRatio, width, height, ...props} = this.props;
4040
return (
4141
<Resizable

0 commit comments

Comments
 (0)