Skip to content

Commit 9c37e38

Browse files
committed
Spelling
1 parent f9d2019 commit 9c37e38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules/prop-types.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ var Hello = React.createClass({
1717

1818
var Hello = React.createClass({
1919
propTypes: {
20-
fistname: React.PropTypes.string.isRequired
20+
firstname: React.PropTypes.string.isRequired
2121
},
2222
render: function() {
23-
return <div>Hello {this.props.fistname} {this.props.lastname}</div>; // lastname type is not defined in propTypes
23+
return <div>Hello {this.props.firstname} {this.props.lastname}</div>; // lastname type is not defined in propTypes
2424
}
2525
});
2626
```

0 commit comments

Comments
 (0)