ant-design/components/pagination/demo/mini.md
2017-02-13 10:55:53 +08:00

486 B

order title
4
zh-CN en-US
迷你 Mini size

zh-CN

迷你版本。

en-US

Mini size pagination.

import { Pagination } from 'antd';

function showTotal(total) {
  return `Total ${total} items`;
}

ReactDOM.render(
  <div>
    <Pagination size="small" total={50} />
    <br />
    <Pagination size="small" total={50} showSizeChanger showQuickJumper />
    <br />
    <Pagination size="small" total={50} showTotal={showTotal} />
  </div>
, mountNode);