File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ class MarkdownEditor extends React.Component {
2
2
constructor ( props ) {
3
3
super ( props ) ;
4
4
this . handleChange = this . handleChange . bind ( this ) ;
5
- this . state = { value : 'Hello , **world **!' } ;
5
+ this . state = { value : 'Привет , **мир **!' } ;
6
6
}
7
7
8
8
handleChange ( e ) {
@@ -17,16 +17,16 @@ class MarkdownEditor extends React.Component {
17
17
render ( ) {
18
18
return (
19
19
< div className = "MarkdownEditor" >
20
- < h3 > Input </ h3 >
20
+ < h3 > Входные данные </ h3 >
21
21
< label htmlFor = "markdown-content" >
22
- Enter some markdown
22
+ Введите что-нибудь в формате Markdown
23
23
</ label >
24
24
< textarea
25
25
id = "markdown-content"
26
26
onChange = { this . handleChange }
27
27
defaultValue = { this . state . value }
28
28
/>
29
- < h3 > Output </ h3 >
29
+ < h3 > Вывод </ h3 >
30
30
< div
31
31
className = "content"
32
32
dangerouslySetInnerHTML = { this . getRawMarkup ( ) }
Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ class HelloMessage extends React.Component {
2
2
render ( ) {
3
3
return (
4
4
< div >
5
- Hello { this . props . name }
5
+ Привет, { this . props . name }
6
6
</ div >
7
7
) ;
8
8
}
9
9
}
10
10
11
11
ReactDOM . render (
12
- < HelloMessage name = "Taylor " /> ,
12
+ < HelloMessage name = "Иван " /> ,
13
13
document . getElementById ( 'hello-example' )
14
14
) ;
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class Timer extends React.Component {
21
21
render ( ) {
22
22
return (
23
23
< div >
24
- Seconds : { this . state . seconds }
24
+ Секунды : { this . state . seconds }
25
25
</ div >
26
26
) ;
27
27
}
Original file line number Diff line number Diff line change @@ -9,19 +9,19 @@ class TodoApp extends React.Component {
9
9
render ( ) {
10
10
return (
11
11
< div >
12
- < h3 > TODO </ h3 >
12
+ < h3 > Список дел </ h3 >
13
13
< TodoList items = { this . state . items } />
14
14
< form onSubmit = { this . handleSubmit } >
15
15
< label htmlFor = "new-todo" >
16
- What needs to be done ?
16
+ Что нужно сделать ?
17
17
</ label >
18
18
< input
19
19
id = "new-todo"
20
20
onChange = { this . handleChange }
21
21
value = { this . state . text }
22
22
/>
23
23
< button >
24
- Add #{ this . state . items . length + 1 }
24
+ Добавить #{ this . state . items . length + 1 }
25
25
</ button >
26
26
</ form >
27
27
</ div >
You can’t perform that action at this time.
0 commit comments