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