Fix minor typo in closing H1 tag (#7855)
Marcelo Alves committed
Oct 3, 2016 at 17:07 UTC
23cd77b683fccd8e5c00ef39b078a44955e2a452
1 file changed
+2
-2
docs/docs/05-reusable-components.md
+2
-2
@@ -201,7 +201,7 @@ Or using the new ES6 arrow syntax:
201
202
```javascript
203
const Greeting = (props) => (
204
- <h1>Hello, {props.name}</h1v>
204
+ <h1>Hello, {props.name}</h1>
205
);
206
207
ReactDOM.render(
@@ -217,7 +217,7 @@ However, you may still specify `.propTypes` and `.defaultProps` by setting them
217
```javascript
218
function Greeting(props) {
219
return (
220
- <h1>Hello, {props.name}</h1v>
220
+ <h1>Hello, {props.name}</h1>
221
);
222
}
223