Skip to main content

Interface: CustomComponents

A map of the component that can be changed via the components prop.

Methods​

Caption​

β–Έ Optional Caption(props): null | Element

The component for the caption element.

Parameters​

NameType
propsCaptionProps

Returns​

null | Element

Defined in​

types/DayPickerBase.ts:244


CaptionLabel​

β–Έ Optional CaptionLabel(props): null | Element

The component for the caption element.

Parameters​

NameType
propsCaptionLabelProps

Returns​

null | Element

Defined in​

types/DayPickerBase.ts:246


Day​

β–Έ Optional Day(props): null | Element

The component for the day element. This is a button or a span.

Parameters​

NameType
propsDayProps

Returns​

null | Element

Defined in​

types/DayPickerBase.ts:248


DayContent​

β–Έ Optional DayContent(props): null | Element

The component for the content of the day element.

Parameters​

NameType
propsDayContentProps

Returns​

null | Element

Defined in​

types/DayPickerBase.ts:250


β–Έ Optional Dropdown(props): null | Element

The component for the drop-down elements.

Parameters​

NameType
propsDropdownProps

Returns​

null | Element

Defined in​

types/DayPickerBase.ts:252


β–Έ Optional Footer(): null | Element

The component for the table footer.

Returns​

null | Element

Defined in​

types/DayPickerBase.ts:254


β–Έ Optional Head(): null | Element

The component for the table’s head.

Returns​

null | Element

Defined in​

types/DayPickerBase.ts:256


IconDropdown​

β–Έ Optional IconDropdown(props): null | Element

The component for the small icon in the drop-downs.

Parameters​

NameType
propsStyledComponent

Returns​

null | Element

Defined in​

types/DayPickerBase.ts:258


IconLeft​

β–Έ Optional IconLeft(props): null | Element

The arrow left icon (used for the Navigation buttons).

Parameters​

NameType
propsStyledComponent

Returns​

null | Element

Defined in​

types/DayPickerBase.ts:262


IconRight​

β–Έ Optional IconRight(props): null | Element

The arrow right icon (used for the Navigation buttons).

Parameters​

NameType
propsStyledComponent

Returns​

null | Element

Defined in​

types/DayPickerBase.ts:260


Row​

β–Έ Optional Row(props): null | Element

The component for the table rows.

Parameters​

NameType
propsRowProps

Returns​

null | Element

Defined in​

types/DayPickerBase.ts:264


WeekNumber​

β–Έ Optional WeekNumber(props): null | Element

The component for the week number in the table rows.

Parameters​

NameType
propsWeekNumberProps

Returns​

null | Element

Defined in​

types/DayPickerBase.ts:266