JengaCalendarDefaults

Defaults, token mappings and reusable cells for JengaCalendar and JengaDatePicker.

Functions

Link copied to clipboard
Link copied to clipboard
fun Day(day: JengaCalendarDay, selected: Boolean, enabled: Boolean, isToday: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, contentDescription: String? = null, colors: JengaCalendarColors = colors())

A standard day cell: the day number in a circle, filled when selected and outlined when isToday. Days outside the shown month draw nothing.

Link copied to clipboard
fun today(): LocalDate

Today in the device's time zone.

Link copied to clipboard
fun WeekHeader(daysOfWeek: List<DayOfWeek>, label: (DayOfWeek) -> String, modifier: Modifier = Modifier, colors: JengaCalendarColors = colors())

A row of weekday labels, one per column.