Skip to content

Commit 515685e

Browse files
committed
Fixed spacing for consistency
1 parent 66034bf commit 515685e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UPGRADE_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ handler no longer prevents the transition. To prevent the transition, call
180180

181181
// v1.0
182182
{this.props.children}
183-
{React.cloneElement(this.props.children, {someExtraProp: something })}
183+
{React.cloneElement(this.props.children, {someExtraProp: something})}
184184
```
185185

186186
**Note:** React does not validate `propTypes` that are specified via `cloneElement` (see: [facebook/react#4494](https://github.com/facebook/react/issues/4494#issuecomment-125068868)). It is recommended to make such `propTypes` optional.

0 commit comments

Comments
 (0)