Calendar.Day

View Source

Provides easier custom day rendering.

Props

Background color of the container.

cellSizenumber

Size of the cell.

colorstring

Text color of the date.

dateDate

Date for calendar day.

disabledboolean

Disables the onClick callback.

fontSizenumber | string

Sets the font size of the date.

fontWeightnumber | string

Sets the font weight of the date.

Is the current day in the month displayed?

isMaxDateboolean

Internal use

isMinDateboolean

Internal use

isSelectedboolean

Is the day the selected date?

isTodayboolean

Is the day today?

onClickMouseEventHandler

Native

onMouseDownMouseEventHandler

Native

selectDate(date: Date) => void

Callback triggered when the day is selected

Circular background color of the selected date, default’s to theme primary.

Circular background color, default’s to transparent. Can be used to provide a visual queue for a given day.

statusOffsetstring | number

Specifies the bottom offset of the status dots, defaults to 15%.

Accepts an array of color names (theme token or valid html) which render as small colorized dots below the date.