Skip to content

Commit d1bd543

Browse files
authored
Merge pull request sudheerj#29 from sahajre/patch-1
corrected property name
2 parents 19c32d2 + 9ef9e10 commit d1bd543

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5224,7 +5224,7 @@
52245224
2. Spread operator: Helps in passing props down into a component
52255225
```javascript
52265226
// in es 5
5227-
<SomeComponent myData={this.props.someData} dispatch={this.props.dispatch} />
5227+
<SomeComponent someData={this.props.someData} dispatch={this.props.dispatch} />
52285228

52295229
// in es6
52305230
<SomeComponent {...this.props} />

0 commit comments

Comments
 (0)