Fix markdown parsing error

closes #3075
This commit is contained in:
Dan Fox
2015-02-08 11:31:48 +00:00
parent 3fc6dad05d
commit 59fa2f44df

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.