Skip to content

Commit

Permalink
FontAwesome
Browse files Browse the repository at this point in the history
  • Loading branch information
insin committed Dec 6, 2015
1 parent b8e4c88 commit cad3abd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
},
"dependencies": {
"react": "~0.14.0",
"react-dom": "~0.14.0"
"react-dom": "~0.14.0",
"react-fa": "^4.0.0"
},
"devDependencies": {
"eslint-config-jonnybuchanan": "^2.0.1",
Expand Down
14 changes: 13 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
import React from 'react'

import Icon from 'react-fa'

export default React.createClass({
render() {
return <div>
<h2>Welcome to React</h2>
<header>
<a href="https://github.com/insin/nwb" target="_blank">
<Icon name="github"/>
</a>

<a href="https://github.com/insin/react-nwb-github-issues" target="_blank" className="btn primary fork">
<Icon name="code-fork"/> Fork Me on GitHub
</a>
</header>

{this.props.children}
</div>
}
})

0 comments on commit cad3abd

Please sign in to comment.