'use client';
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
import React from 'react';
const baseClass = 'paginator__page';
export const Page = ({ isCurrent, isFirstPage = false, isLastPage = false, page = 1, updatePage })=>{
    const classes = [
        baseClass,
        isCurrent && `${baseClass}--is-current`,
        isFirstPage && `${baseClass}--is-first-page`,
        isLastPage && `${baseClass}--is-last-page`
    ].filter(Boolean).join(' ');
    return /*#__PURE__*/ _jsxDEV("button", {
        className: classes,
        onClick: ()=>updatePage(page),
        type: "button",
        children: page
    }, void 0, false, {
        fileName: "src/elements/Pagination/Page/index.tsx",
        lineNumber: 31,
        columnNumber: 5
    }, this);
};

//# sourceMappingURL=index.js.map