Skip to main content

Type alias: DayRender

Ƭ DayRender: Object

Type declaration

NameTypeDescription
activeModifiersActiveModifiersThe modifiers active for the given day.
buttonPropsStyledComponent & Pick<ButtonProps, "disabled" | "aria-selected" | "tabIndex"> & DayEventHandlersThe props to apply to the button element (when isButton is true).
divPropsStyledComponentThe props to apply to the div element (when isButton is false).
isButtonbooleanWhether the day should be rendered a button instead of a div
isHiddenbooleanWhether the day should be hidden.
selectedDaysSelectedDays-

Defined in

src/hooks/useDayRender/useDayRender.tsx:21