Fix proptypes

This commit is contained in:
Eric Fennis
2021-02-27 11:21:35 +01:00
parent 7ce35bac34
commit 40cb396a6c

View File

@@ -22,7 +22,7 @@ export default (iconName, [tag, attrs, children]) => {
Component.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
strokeWidth: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
Component.displayName = `${iconName}`;