Fix markdown parsing error

closes #3075
This commit is contained in:
Dan Fox
2015-02-08 11:31:48 +00:00
parent 60c2f56e6e
commit 462ab93d83
+2
View File
@@ -15,7 +15,9 @@ Do a shallow copy of `component` and merge any props provided by `extraProps`. T
> Note:
>
> `cloneWithProps` does not transfer `key` to the cloned component. If you wish to preserve the key, add it to the `extraProps` object:
>
> ```js
> var clonedComponent = cloneWithProps(originalComponent, { key : originalComponent.key });
> ```
>
> `ref` is similarly not preserved.