PickersCalendarHeaderProps

Properties

Link copied to clipboard
abstract external var classes: PickersCalendarHeaderClasses?

Override or extend the styles applied to the component.

Link copied to clipboard
abstract external override var className: ClassName?

A CSS class name applied to the root element.

Link copied to clipboard
abstract external var currentMonth: PickerValidDate

The first visible month.

Link copied to clipboard
abstract external var disabled: Boolean?

If true, the view cannot be switched. The switch button is hidden and a click on the label does nothing.

Link copied to clipboard
abstract external var key: Key?
Link copied to clipboard
abstract external var labelId: String?

Id of the calendar text element. It is used to establish an aria-labelledby relationship with the calendar grid element.

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

Callback fired when the displayed month changes.

Link copied to clipboard
abstract external var onViewChange: (Union) -> Unit?

Callback fired when the view changes.

Link copied to clipboard
abstract external var reduceAnimations: Boolean

If true, disable heavy animations.

Link copied to clipboard

The props used for each component slot.

Link copied to clipboard
abstract external var slots: PickersCalendarHeaderSlots?

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 view: String

The visible view.

Link copied to clipboard
abstract external var views: ReadonlyArray<String>

Available views.

Functions

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