import React, { PureComponent } from 'react';

class Index extends PureComponent {

  render() {
    const { icon , count = 0 , ...props } = this.props;

    return (
      <span {...props}>
        <i className={icon}></i>
        <span className={'span-text'}>
          {count}
        </span>
      </span>
    )
  }
}

export default Index;