Fixed typo / grammar docs
This commit is contained in:
parent
ddbbaa9500
commit
a366ec16e6
|
@ -6,7 +6,7 @@ prev: test-utils.html
|
|||
next: create-fragment.html
|
||||
---
|
||||
|
||||
In rare situations a element may want to change the props of a element that it doesn't own (like changing the `className` of a element passed as `this.props.children`). Other times it may want to make multiple copies of a element passed to it. `cloneWithProps()` makes this possible.
|
||||
In rare situations an element may want to change the props of an element that it doesn't own (like changing the `className` of an element passed as `this.props.children`). Other times it may want to make multiple copies of an element passed to it. `cloneWithProps()` makes this possible.
|
||||
|
||||
#### `ReactElement React.addons.cloneWithProps(ReactElement element, object? extraProps)`
|
||||
|
||||
|
|
Loading…
Reference in New Issue