import React from "react";
import { StyledCalendar, StyledCalendarDouble } from "./CalendarGrid.styles";
export 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.createElement(StyledCalendarDouble, {
            ...commonProps,
            ...rest
        });
    }
    return /*#__PURE__*/ React.createElement(StyledCalendar, {
        ...commonProps,
        ...rest
    });
};
