"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = require("react");
var Pagination_1 = require("@uifabric/experiments/lib-commonjs/Pagination");
var PaginationButtonsCustomizationExample = /** @class */ (function (_super) {
    tslib_1.__extends(PaginationButtonsCustomizationExample, _super);
    function PaginationButtonsCustomizationExample(props) {
        var _this = _super.call(this, props) || this;
        _this._onPageChange = function (index) {
            _this.setState({
                selectedPageIndex: index,
            });
        };
        _this.state = { selectedPageIndex: 15 };
        return _this;
    }
    PaginationButtonsCustomizationExample.prototype.render = function () {
        return (React.createElement(Pagination_1.Pagination, { selectedPageIndex: this.state.selectedPageIndex, pageCount: 50, numberOfPageButton: 8, format: 'buttons', previousPageAriaLabel: 'previous page', nextPageAriaLabel: 'next page', firstPageAriaLabel: 'first page', lastPageAriaLabel: 'last page', pageAriaLabel: 'page', selectedAriaLabel: 'selected', onPageChange: this._onPageChange, firstPageIconProps: { iconName: 'ChevronLeftEnd6' }, previousPageIconProps: { iconName: 'ChevronLeftSmall' }, nextPageIconProps: { iconName: 'ChevronRightSmall' }, lastPageIconProps: { iconName: 'ChevronRightEnd6' }, styles: {
                previousNextPage: { color: 'black' },
                pageNumber: {
                    fontWeight: 'bold',
                    selectors: {
                        ':hover': { backgroundColor: '#c8c8c8', borderRadius: '16px' },
                        '&[aria-selected=true]': {
                            fontWeight: 'bold',
                        },
                    },
                },
            } }));
    };
    return PaginationButtonsCustomizationExample;
}(React.Component));
exports.PaginationButtonsCustomizationExample = PaginationButtonsCustomizationExample;
//# sourceMappingURL=Pagination.Buttons.Customization.Example.js.map