import React from 'react'
import { Box } from '../../Box/Box'
import { IconSolidCheveronLeft } from '../../icons/IconSolidCheveronLeft'
import { IconSolidCheveronRight } from '../../icons/IconSolidCheveronRight'
import { Calendar } from './Calendar'
import {
useContextCalendars,
useContextMonthsPropGetters,
} from '@rehookify/datepicker'
const DatePicker = ({ hasSelectedRange }: { hasSelectedRange?: boolean }) => {
const { calendars } = useContextCalendars()
const { previousMonthButton, nextMonthButton } =
useContextMonthsPropGetters()
const previousMonthButtonProps = previousMonthButton()
const nextMonthButtonProps = nextMonthButton()
return (