Calendar.Day
View Source
Provides easier custom day rendering.
Props
string
Background color of the container.
number
Size of the cell.
any
string
Text color of the date.
Date
Date for calendar day.
boolean
Disables the onClick
callback.
number | string
Sets the font size of the date.
number | string
Sets the font weight of the date.
boolean
Is the current day in the month displayed?
boolean
Internal use
boolean
Internal use
boolean
Is the day the selected date?
boolean
Is the day today?
MouseEventHandler
Native
MouseEventHandler
Native
(date: Date) => void
Callback triggered when the day is selected
string
Circular background color of the selected date, default’s to theme primary
.
string
Circular background color, default’s to transparent
. Can be used to provide a visual queue for a given day.
string | number
Specifies the bottom
offset of the status dots, defaults to 15%
.
Array
Accepts an array of color names (theme token or valid html) which render as small colorized dots below the date.