import './demo2.css';
import Badge from '../index';
import React from 'react';
import ReactDOM from 'react-dom';

ReactDOM.render(
  <div>
    <Badge count={5}>
      <a href="#" className="head-example"></a>
    </Badge>
    <Badge count={100}>
      <a href="#" className="head-example"></a>
    </Badge>
    <Badge count={100} overflowCount={10}>
      <a href="#" className="head-example"></a>
    </Badge>
    <Badge count={1000} overflowCount={999}>
      <a href="#" className="head-example"></a>
    </Badge>
  </div>, document.getElementById('badge-demo-2'));
