import React from 'react'; import classnames from 'classnames'; class Icon extends React.Component { render = () => { var className = null; if (this.props.icon.startsWith('icon-')) { className = classnames(this.props.icon, this.props.className); return ; } className = classnames('bt', 'bt-' + this.props.icon, this.props.className); return ; } } export default Icon;