Skip to content

Commit 39a13d4

Browse files
authored
Merge pull request #42 from Widen/hotfix/unknown-prop-onresize
fix(ResizableBox.jsx): Unknown prop `onResize`
2 parents b0dea71 + 3361089 commit 39a13d4

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)