Skip to content

Commit dc97bde

Browse files
authored
Merge pull request #170 from reactjs/composition-inheritance-fix
Translating code back to english
2 parents 0884335 + 8ac4358 commit dc97bde

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/docs/composition-vs-inheritance.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ function WelcomeDialog() {
3535
return (
3636
<FancyBorder color="blue">
3737
<h1 className="Dialog-title">
38-
Bienvenidos
38+
Welcome
3939
</h1>
4040
<p className="Dialog-message">
41-
¡Gracias por visitar nuestra nave espacial!
41+
Thank you for visiting our spacecraft!
4242
</p>
4343
</FancyBorder>
4444
);
@@ -105,8 +105,8 @@ function Dialog(props) {
105105
function WelcomeDialog() {
106106
return (
107107
<Dialog
108-
title="Bienvenidos"
109-
message="¡Gracias por visitar nuestra nave espacial!" />
108+
title="Welcome"
109+
message="Thank you for visiting our spacecraft!" />
110110
);
111111
}
112112
```
@@ -140,8 +140,8 @@ class SignUpDialog extends React.Component {
140140
141141
render() {
142142
return (
143-
<Dialog title="Programa de exploración de Marte"
144-
message="Cómo debemos llamarte?">
143+
<Dialog title="Mars Exploration Program"
144+
message="How should we refer to you?">
145145
<input value={this.state.login}
146146
onChange={this.handleChange} />
147147
<button onClick={this.handleSignUp}>

0 commit comments

Comments
 (0)