Skip to main content

Type alias: UseDay#

Ƭ UseDay: object

Type declaration:#

NameTypeDescription
buttonProps?Omit<React.HTMLProps<HTMLButtonElement>, ref>The props for rendering the day as interactive element. When undefined, DayPicker should render a non interactive element with non-interactive props.
isOutsidebooleanWhether the date is outside the display month/
modifiersModifierStatusThe modifiers for the given date.
multipleSelectMultipleContextValue-
nonInteractiveProps?StyledComponentPropsThe props for rendering the day as not interactive element. When both this value and buttonProps are undefined, DayPicker should not render anything.
rangeSelectRangeContextValue-
selectedDate | Date[] | DateRange | undefinedThe days in DayPicker currently selected.
singleSelectSingleContextValue-