Getting icon loading in the root styles working

This commit is contained in:
Jeff Avallone committed 2018-02-10 17:55:48 -05:00
1 parent 2377cb2497
commit 74d622c7a4
6 files changed
+82 -33

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ import ReactDOM from 'react-dom';
import '../style.css';
import Message from '../components/Message';
import ErrorIcon from 'feather-icons/dist/icons/alert-octagon.svg';
import ErrorIcon from '!svg-react-loader!feather-icons/dist/icons/alert-octagon.svg';
ReactDOM.render(
<Message icon={ ErrorIcon } heading="404 Page Not Found">