@keyhowl/reservation-form
Version:
In order to use this form, you need to have a registration in Keyhowl. There is a detailed tutorial on how to use this package on the [Keyhowl website](https://keyhowl.com).
64 lines (63 loc) • 1.47 kB
TypeScript
export declare function ReservationForm(): JSX.Element
export declare function Store({
children,
keyhowlProps,
}: {
children: JSX.Element
keyhowlProps: {
id: string
calendarsToShow: string[]
renderPortals?: boolean
isButton?: boolean
showDevData?: boolean
localization?: {
language?: string
}
design?: {
primaryColor?: string
mode?: 'light' | 'dark'
fontFamily?: string
}
settings?: {
disableAfter?: number
showPhoneOnDisableAfter?: boolean
}
reservationButton?: {
text?: string
props?: { [key: string]: any }
}
weekDay?: {
dateHeading?: {
dateFormat?: string
hourFormat?: string
dateStyle?: string
variant?: string
props?: { [key: string]: any }
}
button?: {
variant?: 'text' | 'outlined' | 'contained'
props?: { [key: string]: any }
styleOverrides?: { [key: string]: any }
free?: {
color?: string
}
booked?: {
color?: string
}
}
}
dialog?: {
heading?: {
dateFormat?: string
dateStyle?: string
timeStyle?: string
}
textField?: {
variant?: any
props?: { [key: string]: any }
styleOverrides?: { [key: string]: any }
}
showFinalPrice?: boolean
}
}
}): JSX.Element