Browse Source

Fix minor typo in closing H1 tag (#7855)

main
Marcelo Alves 8 years ago
committed by Brandon Dail
parent
commit
636bc1114a
  1. 4
      docs/05-reusable-components.md

4
docs/05-reusable-components.md

@ -201,7 +201,7 @@ Or using the new ES6 arrow syntax:
```javascript
const Greeting = (props) => (
<h1>Hello, {props.name}</h1v>
<h1>Hello, {props.name}</h1>
);
ReactDOM.render(
@ -217,7 +217,7 @@ However, you may still specify `.propTypes` and `.defaultProps` by setting them
```javascript
function Greeting(props) {
return (
<h1>Hello, {props.name}</h1v>
<h1>Hello, {props.name}</h1>
);
}

Loading…
Cancel
Save