API Reference

DayButtonProps

interface

Full props for the DayButton component.

Defined in package/src/types.ts:704

Renders as <button> by default. Use the render prop to override.

PropTypeDefaultDescription
renderReactElement | ((props: HTMLProps<button>, state: DayButtonState) => ReactElement)Custom render function or element. Receives HTML props for <button> and component state.
datePlainDateExplicit date for a standalone DayButton. Normally inherited from DayCellTemplate.