API Reference
DayButtonProps
interfaceFull props for the DayButton component.
Defined in package/src/types.ts:704
Renders as <button> by default. Use the render prop to override.
| Prop | Type | Default | Description |
|---|---|---|---|
| render | ReactElement | ((props: HTMLProps<button>, state: DayButtonState) => ReactElement) | — | Custom render function or element. Receives HTML props for <button> and component state. |
| date | PlainDate | — | Explicit date for a standalone DayButton. Normally inherited from DayCellTemplate. |