From f35c03c7a830f67213cdcb63c6f25e257cc51f2d Mon Sep 17 00:00:00 2001 From: David Reid Date: Tue, 28 Mar 2017 09:27:20 -0700 Subject: [PATCH] Fix indentation in no-unused-prop-types example. --- docs/rules/no-unused-prop-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/no-unused-prop-types.md b/docs/rules/no-unused-prop-types.md index 6a4014e649..5fa3698d92 100644 --- a/docs/rules/no-unused-prop-types.md +++ b/docs/rules/no-unused-prop-types.md @@ -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
Hello {this.props.firstname} {this.props.lastname}
;