"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * title: "翻页+每页显示"
 * description: "设置pageSizeSelector设置每页显示选择器类型。"
 */
var react_1 = __importDefault(require("react"));
var console_components_1 = require("@alicloud/console-components");
var handlePageSizeChange = function (size) {
    console.log(size);
};
function App() {
    return (react_1.default.createElement(console_components_1.Pagination, { pageSizeSelector: "dropdown", pageSizeList: [5, 10, 20], pageSizePosition: "end", defaultCurrent: 2, onChange: handlePageSizeChange, showJump: false }));
}
exports.default = App;
