commit 37e8c06dc54814a9e8de54e986838e00a33f8760
parent 1f1512f1da97aefc76df3ec187981d8d4f8fb989
Author: Konstantin Tarkus <hello@tarkus.me>
Date: Sun, 5 Apr 2015 11:52:39 +0300
Update react-style-guide.md
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/react-style-guide.md b/docs/react-style-guide.md
@@ -23,7 +23,7 @@ For more information google for [component-based UI development](https://google.
Use [BEM](https://bem.info/) approach for naming CSS classes. See also [SUIT CSS](https://suitcss.github.io/) for inspiration.
-```css
+```less
// CSS
.ComponentName { }
.ComponentName--modifier { }
@@ -35,7 +35,7 @@ For example:
```jsx
// JSX
-<div className="Navigation">
+<nav className="Navigation">
<ul className="Navigation-items">
<li className="Navigation-item Navigation-item--selected">
<a className="Navigation-link" href="/products">Products</a>
@@ -44,7 +44,7 @@ For example:
<a className="Navigation-link" href="/services">Services</a>
</li>
</ul>
-</div>
+</nav>
```
```less