summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2017-07-02 14:56:23 -0700
committerNick Van Doorn <vandoorn.nick@gmail.com>2017-07-02 14:56:23 -0700
commite69d5c1bd9d295a2dc348114e47be3a91623c2f2 (patch)
tree0742b47a9051a2b50fefa2c48ce15b45f2d29de9
parentbd6f81a3b0e2e52b7e0a7e419fb8b83fdc512c8b (diff)
Apply anotherOne classname
-rw-r--r--src/index.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/index.js b/src/index.js
index f2eca86..2eee1b6 100644
--- a/src/index.js
+++ b/src/index.js
@@ -3,12 +3,13 @@ import ReactDOM from 'react-dom'
import FA from 'react-fontawesome'
import { app } from './index.css'
+import { anotherOne } from './index.css.js'
import '../node_modules/font-awesome/css/font-awesome.css'
const App = p =>
- <div className={app}>
+ <div className={[app,anotherOne].join(' ')}>
<FA name='github' />
{p.text}
</div>
-ReactDOM.render(<App text='hello world' />, document.getElementById('root'))
+ReactDOM.render(<App title='hello world' />, document.getElementById('root'))