Skip to content

Commit

Permalink
Merge pull request #2165 from DJCordhose/patch-1
Browse files Browse the repository at this point in the history
Update 09.5-clone-with-props.md
  • Loading branch information
zpao committed Sep 24, 2014
1 parent fbb6e0c commit 00c178f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/docs/09.5-clone-with-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ Do a shallow copy of `component` and merge any props provided by `extraProps`. P
> ```js
> var clonedComponent = cloneWithProps(originalComponent, { key : originalComponent.props.key });
> ```
> `ref` is another prop that is not preserved either.

0 comments on commit 00c178f

Please sign in to comment.