Skip to main content
Version: 8.10.1

Type alias: DayRender

DayRender: {"activeModifiers": ActiveModifiers;"buttonProps": StyledComponent & Pick <ButtonProps, "disabled" | "aria-selected" | "tabIndex"> & DayEventHandlers;"divProps": StyledComponent;"isButton": boolean;"isHidden": boolean;"selectedDays": SelectedDays; }

Type declaration​

MemberTypeDescription
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-

Source​

src/hooks/useDayRender/useDayRender.tsx:21