import Pagination from '..';
import React from 'react';
import ReactDOM from 'react-dom';

const change = function(current) {
  console.log(current);

};
ReactDOM.render(
  <div>
    <Pagination defaultCurrent={2} onChange={change} />
    <br/>
    <br/>
    <div style={{ background: '#f3f3f3', padding: '10px' }}>
      <Pagination defaultCurrent={2} theme='grey' onChange={change} />
    </div>
  </div>
  ,
  document.getElementById('pagination-demo-1'),
);
