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
dateDate—The date being overridden
existingOverrideDateOverride | nullnullPre-fill with existing data
hostIdstring''Host ID for the override record
onSave(override: DateOverride) => void—Save callback
onClose() => void—Close/cancel callback