Addressing lint errors

This commit is contained in:
Jeff Avallone
2018-02-10 18:10:30 -05:00
parent cca35117f5
commit cf0c175d0a
2 changed files with 9 additions and 2 deletions
+7
View File
@@ -1,4 +1,5 @@
import React from 'react';
import PropTypes from 'prop-types';
import style from './style.css';
@@ -10,4 +11,10 @@ const Message = ({ icon, heading, children }) => {
</div>;
};
Message.propTypes = {
icon: PropTypes.element,
heading: PropTypes.string.isRequired,
children: PropTypes.element.isRequired
};
export default Message;