"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "CalendarGrid", {
    enumerable: true,
    get: function() {
        return CalendarGrid;
    }
});
const _react = /*#__PURE__*/ _interop_require_default(require("react"));
const _CalendarGridstyles = require("./CalendarGrid.styles");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const CalendarGrid = ({ isDouble, value, lang, calendarContainerWidth, calendarContainerHeight, handleCalendarPick, ...rest })=>{
    const commonProps = {
        value,
        locale: lang,
        innerHeight: calendarContainerHeight,
        innerWidth: calendarContainerWidth,
        onChangeValue: handleCalendarPick
    };
    if (isDouble) {
        return /*#__PURE__*/ _react.default.createElement(_CalendarGridstyles.StyledCalendarDouble, {
            ...commonProps,
            ...rest
        });
    }
    return /*#__PURE__*/ _react.default.createElement(_CalendarGridstyles.StyledCalendar, {
        ...commonProps,
        ...rest
    });
};
