Adding Message component

This commit is contained in:
Jeff Avallone
2018-02-10 17:20:04 -05:00
parent 7ef40cba9c
commit 5984f59063
6 changed files with 61 additions and 20 deletions
+12
View File
@@ -1 +1,13 @@
import React from 'react';
import ReactDOM from 'react-dom';
import '../style.css';
import Message from '../componets/Message';
import ErrorIcon from 'feather-icons/dist/icons/alert-octagon.svg';
ReactDOM.render(
<Message icon={ ErrorIcon } heading="404 Page Not Found">
<p>The page you have requested could not be found</p>
</Message>,
document.getElementById('root'));