import React from 'react'; import cn from 'classnames'; import SVG from 'UI/SVG'; import styles from './icon.css'; const Icon = ({ name, size = 12, height = size, width = size, color = 'gray-medium', className = '', style={}, marginRight, inline = false, ...props }) => { const _style = { width: `${ width }px`, height: `${ height }px`, ...style, }; if (marginRight){ _style.marginRight = `${ marginRight }px`; } return ( ); } Icon.displayName = 'Icon'; export default Icon;