Adding SVG icons

This commit is contained in:
Jeff Avallone
2018-02-10 16:32:52 -05:00
parent e52103a516
commit 8eb4b450ca
4 changed files with 111 additions and 12 deletions
+16 -1
View File
@@ -1,5 +1,20 @@
import React from 'react';
const App = () => <h1>React App</h1>;
import GithubIcon from 'feather-icons/dist/icons/github.svg';
import DownloadIcon from 'feather-icons/dist/icons/download.svg';
import LinkIcon from 'feather-icons/dist/icons/link.svg';
import ChevronsDownIcon from 'feather-icons/dist/icons/chevrons-down.svg';
import ErrorIcon from 'feather-icons/dist/icons/alert-octagon.svg';
const App = () => <React.Fragment>
<h1>React App</h1>
<ul>
<li><GithubIcon/>GitHub</li>
<li><DownloadIcon/>Download</li>
<li><LinkIcon/>Permalink</li>
<li><ChevronsDownIcon/>Open</li>
<li><ErrorIcon/>Error</li>
</ul>
</React.Fragment>;
export default App;