AbdulElahGwaith's picture
Upload folder using huggingface_hub
cf86710 verified

Function: useDayRender()

useDayRender(day, displayMonth, buttonRef): DayRender

Return props and data used to render the Day component.

Use this hook when creating a component to replace the built-in Day component.

Parameters

Parameter Type Description
day Date The date to render.
displayMonth Date The month where the date is displayed (if not the same as date, it means
it is an "outside" day).
buttonRef RefObject<HTMLButtonElement> A ref to the button element that will be target of focus when rendered (if
required).

Returns

DayRender

Source

src/hooks/useDayRender/useDayRender.tsx:43