Browse Source

Update 09.5-clone-with-props.md

main
Oliver Zeigermann 11 years ago
parent
commit
c1abc9b8c5
  1. 1
      docs/09.5-clone-with-props.md

1
docs/09.5-clone-with-props.md

@ -18,3 +18,4 @@ Do a shallow copy of `component` and merge any props provided by `extraProps`. P
> ```js > ```js
> var clonedComponent = cloneWithProps(originalComponent, { key : originalComponent.props.key }); > var clonedComponent = cloneWithProps(originalComponent, { key : originalComponent.props.key });
> ``` > ```
> `ref` is another prop that is not preserved either.

Loading…
Cancel
Save