Skip to content

Commit

Permalink
Russian translation for self-closing-tag of tips (facebook#7729)
Browse files Browse the repository at this point in the history
* Russian translation for self-closing-tag of tips

* Fix next link for inline styles tip

* Update 04-self-closing-tag.ru-RU.md
  • Loading branch information
ivanzotov authored and gaearon committed Sep 19, 2016
1 parent 7dfa01f commit 7d5c70d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tips/02-inline-styles.ru-RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: inline-styles
title: Встроенные стили
layout: tips
permalink: tips/inline-styles-ru-RU.html
next: if-else-in-JSX.html
next: if-else-in-JSX-ru-RU.html
prev: introduction-ru-RU.html
---

Expand Down
14 changes: 14 additions & 0 deletions docs/tips/04-self-closing-tag.ru-RU.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
id: self-closing-tag
title: Одиночный тег
layout: tips
permalink: tips/self-closing-tag-ru-RU.html
prev: if-else-in-JSX-ru-RU.html
next: maximum-number-of-jsx-root-nodes-ru-RU.html
---

В JSX все теги необходимо закрывать. Это можно сделать либо в открывающем теге `<MyComponent />`, либо отдельным закрывающим тегом `</MyComponent>`.

> Примечание:
>
> Любой React компонент может быть одиночным: `<div />` это то же самое, что `<div></div>`.

0 comments on commit 7d5c70d

Please sign in to comment.