Day
fun Day(day: JengaCalendarDay, selected: Boolean, enabled: Boolean, isToday: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, contentDescription: String? = null, colors: JengaCalendarColors = colors())(source)
A standard day cell: the day number in a circle, filled when selected and outlined when isToday. Days outside the shown month draw nothing.
Parameters
day
the calendar day.
selected
whether the day is selected.
enabled
whether the day can be picked.
is Today
whether the day is today.
on Click
called when the day is tapped.
modifier
the Modifier for this cell.
content Description
accessibility label for the day (e.g. "Wednesday, 18 March").
colors
the color set; defaults to colors.