Type alias: DayRender
Ƭ DayRender: Object
Type declaration
Name | Type | Description |
---|---|---|
activeModifiers | ActiveModifiers | The modifiers active for the given day. |
buttonProps | StyledComponent & Pick <ButtonProps , "disabled" | "aria-selected" | "tabIndex" > & DayEventHandlers | The props to apply to the button element (when isButton is true). |
divProps | StyledComponent | The props to apply to the div element (when isButton is false). |
isButton | boolean | Whether the day should be rendered a button instead of a div |
isHidden | boolean | Whether the day should be hidden. |
selectedDays | SelectedDays | - |
Defined in
packages/react-day-picker/src/hooks/useDayRender/useDayRender.tsx:21