import { __rest } from '../../_virtual/_tslib.js';
import React__default from 'react';
import { Wrapper } from './styles.js';
import { CalendarView } from './components/calendarView/index.js';

function DateView(_a) {
    var { variant = 'calendar', date, minDate, maxDate, locale, startingDay } = _a, rest = __rest(_a, ["variant", "date", "minDate", "maxDate", "locale", "startingDay"]);
    const renderVariant = (mVariant) => ({
        calendar: (React__default.createElement(CalendarView, { date: date, minDate: minDate, maxDate: maxDate, locale: locale, startingDay: startingDay })),
    }[mVariant]);
    return React__default.createElement(Wrapper, Object.assign({}, rest), renderVariant(variant));
}

export { DateView };
