Removing SVG components

Sticking with importing data URIs for now
This commit is contained in:
Jeff Avallone
2018-02-11 06:45:39 -05:00
parent c368e9031f
commit 810b37aa47
7 changed files with 19 additions and 99 deletions
+2 -2
View File
@@ -4,10 +4,10 @@ import ReactDOM from 'react-dom';
import '../style.css';
import Message from '../components/Message';
import ErrorIcon from '!svg-react-loader!feather-icons/dist/icons/alert-octagon.svg';
import errorIcon from 'feather-icons/dist/icons/alert-octagon.svg';
ReactDOM.render(
<Message icon={ ErrorIcon } heading="404 Page Not Found">
<Message icon={ errorIcon } heading="404 Page Not Found">
<p>The page you have requested could not be found</p>
</Message>,
document.getElementById('root'));