"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.StaticCalendarButton = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const react_1 = require("react");
const StaticCalendarButtonTooltip_1 = require("../StaticCalendarButtonTooltip");
const styles_1 = require("./styles");
const useLogic_1 = require("./useLogic");
exports.StaticCalendarButton = (0, react_1.forwardRef)((props, ref) => {
    const { tooltipTitle, selected, disableInteractive, isTooltipActive, withoutContainer, ...buttonProps } = (0, useLogic_1.useLogic)(props);
    return ((0, jsx_runtime_1.jsx)(StaticCalendarButtonTooltip_1.StaticCalendarButtonTooltip, { title: tooltipTitle, isActive: isTooltipActive, disableInteractive: disableInteractive, withoutContainer: withoutContainer, children: (0, jsx_runtime_1.jsx)(styles_1.Wrapper, { ref: ref, "aria-selected": selected, ...buttonProps }) }));
});
