feat: add mobile ui to calendar
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
import { Lang } from "@/constants/languages"
|
||||
|
||||
import type { Locale } from "date-fns"
|
||||
import type { DateRange } from "react-day-picker"
|
||||
|
||||
export interface DatePickerFormProps {
|
||||
name?: string
|
||||
}
|
||||
|
||||
type LangWithoutEn = Lang.da | Lang.de | Lang.fi | Lang.no | Lang.sv
|
||||
|
||||
export interface DatePickerProps {
|
||||
close: () => void
|
||||
handleOnSelect: (selected: DateRange) => void
|
||||
initialSelected?: DateRange
|
||||
locales: Record<LangWithoutEn, Locale>
|
||||
selectedDate: DateRange
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user