mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix minor typo in closing H1 tag (#7855)
This commit is contained in:
committed by
Brandon Dail
parent
92c84a6f37
commit
23cd77b683
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user