Skip to content

Commit

Permalink
Fix indentation in no-unused-prop-types example.
Browse files Browse the repository at this point in the history
  • Loading branch information
dreid committed Mar 28, 2017
1 parent 9bb68c1 commit f35c03c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-unused-prop-types.md
Expand Up @@ -20,7 +20,7 @@ var Hello = React.createClass({
propTypes: {
firstname: React.PropTypes.string.isRequired,
middlename: React.PropTypes.string.isRequired, // middlename is never used below
lastname: React.PropTypes.string.isRequired
lastname: React.PropTypes.string.isRequired
},
render: function() {
return <div>Hello {this.props.firstname} {this.props.lastname}</div>;
Expand Down

0 comments on commit f35c03c

Please sign in to comment.