commit e4c106eefc4a4fd94d7d5eb3f5e7a8c332631410
parent 4962c5ab1bc83a10da967075101eb65b06c98209
Author: Konstantin Tarkus <hello@tarkus.me>
Date: Fri, 3 Apr 2015 15:23:17 +0300
Update react-style-guide.md a little
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/react-style-guide.md b/docs/react-style-guide.md
@@ -9,11 +9,11 @@
A sample file structure per component:
```
+/src/components/Navigation/icon.svg
/src/components/Navigation/Navigation.js
-/src/components/Navigation/Navigation-test.js
/src/components/Navigation/Navigation.less
+/src/components/Navigation/Navigation.test.js
/src/components/Navigation/Navigation.ru-RU.less
-/src/components/Navigation/icon.svg
/src/components/Navigation/package.json
```
@@ -44,7 +44,7 @@ A sample component class:
'use strict';
import './SampleComponent.less';
-import { Component } from 'react';
+import React, { Component } from 'react';
class SampleComponent extends Component {