import * as I from '../assets' export default class Icon extends PureComponent { static propTypes = { id: PropTypes.string.isRequired, className: PropTypes.string, width: PropTypes.string, height: PropTypes.string, } render() { const { id, ...options } = this.props switch (id) { case 'add': return case 'apps': return case 'angle-right': return case 'back': return case 'calendar': return case 'chat': return case 'close': return case 'comment': return case 'dissenter': return case 'ellipsis': return case 'error': return case 'globe': return case 'group': return case 'home': return case 'like': return case 'link': return case 'list': return case 'loading': return case 'media': return case 'missing': return case 'more': return case 'notifications': return case 'pin': return case 'play': return case 'poll': return case 'repost': return case 'search': return case 'search-alt': return case 'share': return case 'shop': return case 'subtract': return case 'trends': return case 'verified': return case 'warning': return default: return } } }