"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
var React = __importStar(require("react"));
var CounterText_1 = require("./CounterText");
var PurePagination_1 = require("./PurePagination");
var FlexBlock_1 = require("../flexBlock/FlexBlock");
exports.PurePaginationWithCounter = function (props) {
    var activePage = props.activePage, pageSize = props.pageSize, total = props.total, onChangePage = props.onChangePage, onChangePageSize = props.onChangePageSize;
    return (React.createElement(FlexBlock_1.FlexBlock, { align: FlexBlock_1.FlexBlock.CENTER, justify: FlexBlock_1.FlexBlock.SPACE_BETWEEN },
        React.createElement(CounterText_1.CounterText, { counter: total }),
        React.createElement(PurePagination_1.PurePagination, { itemsCount: total, pageSize: pageSize, activePage: activePage, onChangePage: onChangePage, onChangePageSize: onChangePageSize })));
};
exports.PurePaginationWithCounter.displayName = 'PurePaginationWithCounter';
//# sourceMappingURL=PurePaginationWithCounter.js.map