jatui

AvailabilityModal

Modal for marking a day unavailable or setting custom hours

New override

Edit existing override

Opens pre-filled with custom_hours (10:00–14:00)

Props

PropTypeDefaultDescription
dateDateThe date being overridden
existingOverrideDateOverride | nullnullPre-fill with existing data
hostIdstring''Host ID for the override record
onSave(override: DateOverride) => voidSave callback
onClose() => voidClose/cancel callback