/**
 * title: "翻页+每页显示"
 * description: "设置pageSizeSelector设置每页显示选择器类型。"
 */
import React from 'react';
import { Pagination } from '@alicloud/console-components';

const handlePageSizeChange = (size: number) => {
  console.log(size);
};

export default function App() {
  return (
    <Pagination
      pageSizeSelector="dropdown"
      pageSizeList={[5, 10, 20]}
      pageSizePosition="end"
      defaultCurrent={2}
      onChange={handlePageSizeChange}
      showJump={false}
    />
  );
}


