import { endOfDay } from 'date-fns'; import { DateInput } from './DateInput'; import type { DateRange } from '../helpers/dateIntervals'; interface DateRangeRowProps extends DateRange { onStartDateChange: (date: Date | null) => void; onEndDateChange: (date: Date | null) => void; disabled?: boolean; } export const DateRangeRow = ( { startDate = null, endDate = null, disabled = false, onStartDateChange, onEndDateChange }: DateRangeRowProps, ) => (