Skip to content

Commit

Permalink
Merge pull request facebook#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 9, 2014
2 parents 5d88ebb + 8601a3c commit 0d66ea3
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 0d66ea3

Please sign in to comment.