Fixed typo / grammar docs

This commit is contained in:
Seyi Adebajo 2015-04-04 21:17:07 -04:00
parent ddbbaa9500
commit a366ec16e6
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ prev: test-utils.html
next: create-fragment.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)` #### `ReactElement React.addons.cloneWithProps(ReactElement element, object? extraProps)`