import { __extends } from "tslib";
import * as React from 'react';
import { Pagination } from '@uifabric/experiments/lib/Pagination';
var PaginationButtonsBasicExample = /** @class */ (function (_super) {
    __extends(PaginationButtonsBasicExample, _super);
    function PaginationButtonsBasicExample(props) {
        var _this = _super.call(this, props) || this;
        _this._onPageChange = function (index) {
            _this.setState({
                selectedPageIndex: index,
            });
        };
        _this.state = { selectedPageIndex: 0 };
        return _this;
    }
    PaginationButtonsBasicExample.prototype.render = function () {
        return (React.createElement(Pagination, { selectedPageIndex: this.state.selectedPageIndex, pageCount: 27, itemsPerPage: 10, totalItemCount: 268, format: 'buttons', previousPageAriaLabel: 'previous page', nextPageAriaLabel: 'next page', firstPageAriaLabel: 'first page', lastPageAriaLabel: 'last page', pageAriaLabel: 'page', selectedAriaLabel: 'selected', onPageChange: this._onPageChange }));
    };
    return PaginationButtonsBasicExample;
}(React.Component));
export { PaginationButtonsBasicExample };
//# sourceMappingURL=Pagination.Buttons.Basic.Example.js.map