import React, { Component } from 'react'; import PropTypes from 'prop-types'; import IconInner from './IconInner'; class FeatherIcon extends Component { render() { const { icon, size, className, ...otherProps } = this.props; return ( ); } } FeatherIcon.propTypes = { icon: PropTypes.string.isRequired, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), className: PropTypes.string }; FeatherIcon.defaultProps = { size: 24, className: '' }; export default FeatherIcon;