"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * title: "尺寸"
 * description: "通过设置size属性设置分页组件的大小。"
 */
var react_1 = __importDefault(require("react"));
var console_components_1 = require("@alicloud/console-components");
var handlePageSizeChange = function (size) {
    console.log(size);
};
var h2Style = {
    fontSize: '12px',
    lineHeight: '22px',
    marginTop: '28px',
};
exports.default = (function () {
    return (react_1.default.createElement("div", null,
        react_1.default.createElement("div", { style: h2Style }, "\u9ED8\u8BA4"),
        react_1.default.createElement(console_components_1.Pagination, { defaultCurrent: 2, onChange: handlePageSizeChange }),
        react_1.default.createElement("div", { style: h2Style }, "\u5C0F\u53F7"),
        react_1.default.createElement(console_components_1.Pagination, { defaultCurrent: 2, size: "small", onChange: handlePageSizeChange, type: "normal", pageSize: 10, total: 200 })));
});
