@samitouri / QOS-React-2 / commits / 462ab93d83

Fix markdown parsing error

closes #3075

Dan Fox committed Feb 8, 2015 at 11:31 UTC 462ab93d8390bdbd8d7dd2db365af12d2b4f6bf5
1 file changed +2
docs/docs/10.5-clone-with-props.md
+2
@@ -15,7 +15,9 @@ Do a shallow copy of `component` and merge any props provided by `extraProps`. T
15 > Note:
16 >
17 > `cloneWithProps` does not transfer `key` to the cloned component. If you wish to preserve the key, add it to the `extraProps` object:
18 +>
19 > ```js
20 > var clonedComponent = cloneWithProps(originalComponent, { key : originalComponent.key });
21 > ```
22 +>
23 > `ref` is similarly not preserved.