blob: f2eca86dce172b9d8fb2f90aa43df0d15ec60bd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import React from 'react'
import ReactDOM from 'react-dom'
import FA from 'react-fontawesome'
import { app } from './index.css'
import '../node_modules/font-awesome/css/font-awesome.css'
const App = p =>
<div className={app}>
<FA name='github' />
{p.text}
</div>
ReactDOM.render(<App text='hello world' />, document.getElementById('root'))
|