Campsite Availability Calendar
fun CampsiteAvailabilityCalendar(unavailableDates: Set<LocalDate>, startDate: LocalDate?, endDate: LocalDate?, onDateRangeChange: (LocalDate?, LocalDate?) -> Unit, modifier: Modifier = Modifier, initialMonth: YearMonth = YearMonth.now())
Displays an interactive calendar for selecting reservation dates.
Allows users to select a date range while excluding unavailable dates.
Parameters
unavailable Dates
Dates that cannot be booked.
start Date
The selected start date, or null.
end Date
The selected end date, or null.
on Date Range Change
Callback for updating the date range.
modifier
Customizes the calendar layout.
initial Month
The initially displayed month.