"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * title: "完整功能：翻页+跳转+每页显示"
 * description: "可以设置pageSizeList属性指定每页显示数量可选的值；可以设置pageSizePositionshetion属性指定页码选择器位置。"
 */
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 }));
}
exports.default = App;
