import { ChevronRightIcon } from '@heroicons/react/20/solid' import { useTranslation } from 'next-i18next' import { enUS } from 'date-fns/locale' import { DateChangeCallBack, DateRangePicker } from 'react-nice-dates' import Label from './Label' const MangoDateRangePicker = ({ startDate, setStartDate, endDate, setEndDate, }: { startDate: Date | undefined setStartDate: DateChangeCallBack | undefined endDate: Date | undefined setEndDate: DateChangeCallBack | undefined }) => { const { t } = useTranslation('common') return ( {({ startDateInputProps, endDateInputProps }) => (
)}
) } export default MangoDateRangePicker