import * as React from 'react';
import { Pagination } from '@btri-ui/base';
export default () => {
  return (
    <>
      <Pagination
        defaultCurrent={8}
        showQuickJumper
        showPrevNextJumpers
        total={300}
        size="small"
        showSizeChanger={true}
        onChange={(cur, size) => {
          console.log(cur, size);
        }}
        onShowSizeChange={(cur, size) => {
          console.log(cur, size);
        }}
      />
      <div style={{ marginTop: 32 }}>
        <Pagination
          defaultCurrent={8}
          showQuickJumper
          showPrevNextJumpers
          total={300}
          showSizeChanger={true}
          onChange={(cur, size) => {
            console.log(cur, size);
          }}
          onShowSizeChange={(cur, size) => {
            console.log(cur, size);
          }}
        />
      </div>
    </>
  );
};
