Properties

Link copied to clipboard
abstract external var classes: DateCalendarClasses?

Override or extend the styles applied to the component.

Link copied to clipboard
abstract external override var className: ClassName?
Link copied to clipboard
abstract external var dayOfWeekFormatter: (PickerValidDate) -> String?

Formats the day of week displayed in the calendar header.

Link copied to clipboard
abstract external var defaultValue: PickerValidDate?

The default selected value. Used when the component is not controlled.

Link copied to clipboard
abstract external var disableFuture: Boolean?

If true, disable values after the current date for date components, time for time components and both for date time components.

Link copied to clipboard
abstract external var disableHighlightToday: Boolean?

If true, today's day is not highlighted.

Link copied to clipboard
abstract external var disablePast: Boolean?

If true, disable values before the current date for date components, time for time components and both for date time components.

Link copied to clipboard
abstract external var displayWeekNumber: Boolean?

If true, the week number will be display in the calendar.

Link copied to clipboard
abstract external var fixedWeekNumber: Int?

The day view will show as many weeks as needed after the end of the current month to match this value. Put it to 6 to have a fixed number of weeks in Gregorian calendars

Link copied to clipboard
abstract external var key: Key?
Link copied to clipboard
abstract external var loading: Boolean?

If true, calls renderLoading instead of rendering the day calendar. Can be used to preload information and show it in calendar.

Link copied to clipboard
abstract external var maxDate: PickerValidDate?

Maximal selectable date.

Link copied to clipboard
abstract external var minDate: PickerValidDate?

Minimal selectable date.

Link copied to clipboard
abstract external var monthsPerRow: Number?

Months rendered per row.

Link copied to clipboard
abstract external var onMonthChange: (PickerValidDate) -> Unit?

Callback fired on month change.

Link copied to clipboard
abstract external var onYearChange: (PickerValidDate) -> Unit?

Callback fired on year change.

Link copied to clipboard
abstract external var reduceAnimations: Boolean?

If true, disable heavy animations.

Link copied to clipboard
abstract external var referenceDate: PickerValidDate?

The date used to generate the new value when both value and defaultValue are empty.

Link copied to clipboard
abstract external override var renderLoading: () -> ReactNode?

Component displaying when passed loading true.

Link copied to clipboard
abstract external var shouldDisableDate: (PickerValidDate) -> Boolean?

Disable specific date.

Link copied to clipboard
abstract external var shouldDisableMonth: (PickerValidDate) -> Boolean?

Disable specific month.

Link copied to clipboard
abstract external var shouldDisableYear: (PickerValidDate) -> Boolean?

Disable specific year.

Link copied to clipboard
abstract external var showDaysOutsideCurrentMonth: Boolean?

If true, days outside the current month are rendered:

Link copied to clipboard
abstract external var slotProps: DateCalendarSlotProps?

The props used for each component slot.

Link copied to clipboard
abstract external var slots: DateCalendarSlots?

Overridable component slots.

Link copied to clipboard
abstract external override var sx: SxProps<Theme>?

The system prop that allows defining system overrides as well as additional CSS styles.

Link copied to clipboard
abstract external var value: PickerValidDate?

The selected value. Used when the component is controlled.

Functions

Link copied to clipboard
open inline operator external fun Props?.unaryPlus()