import React, { memo } from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; import _ from 'lodash'; const propTypes = { iconName: PropTypes.string.isRequired, prependIconName: PropTypes.string, }; const defaultProps = { prependIconName: 'icon-bbb-', }; const Icon = ({ className, prependIconName, iconName, ...props }) => ( ); export default memo(Icon); Icon.propTypes = propTypes; Icon.defaultProps = defaultProps;