Skip to content

Commit 9f75535

Browse files
authored
Update README.md
1 parent f60eac0 commit 9f75535

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ yarn add react-rnd
9494
size={{ width: this.state.width, height: this.state.height }}
9595
position={{ x: this.state.x, y: this.state.y }}
9696
onDragStop={(e, d) => { this.setState({ x: d.x, y: d.y }) }}
97-
onResize={(e, direction, ref, delta, position) => {
97+
onResizeStop={(e, direction, ref, delta, position) => {
9898
this.setState({
9999
width: ref.style.width,
100100
height: ref.style.height,
@@ -491,6 +491,13 @@ If you have a bug to report, please reproduce the bug in [CodeSandbox](https://c
491491

492492
## Changelog
493493

494+
495+
#### v10.0.0
496+
497+
- Fix: Fix #526
498+
- Feat: Add `onMouseUp` callback.
499+
- Feat: Use `React.pureComponent`
500+
494501
#### v9.2.0
495502

496503
- Chore: Use `re-resizablev5`

0 commit comments

Comments
 (0)