Merged in fix/sw-350-booking-widget-ui-fixes (pull request #683)
Fix/sw 350 booking widget ui fixes Approved-by: Simon.Emanuelsson
This commit is contained in:
7
types/components/checkbox/index.ts
Normal file
7
types/components/checkbox/index.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { RegisterOptions } from "react-hook-form"
|
||||
|
||||
export interface CheckboxProps
|
||||
extends React.InputHTMLAttributes<HTMLInputElement> {
|
||||
name: string
|
||||
registerOptions?: RegisterOptions
|
||||
}
|
||||
@@ -11,7 +11,7 @@ type LangWithoutEn = Lang.da | Lang.de | Lang.fi | Lang.no | Lang.sv
|
||||
|
||||
export interface DatePickerProps {
|
||||
close: () => void
|
||||
handleOnSelect: (selected: DateRange) => void
|
||||
handleOnSelect: (selected: Date) => void
|
||||
locales: Record<LangWithoutEn, Locale>
|
||||
selectedDate: DateRange
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user