react-day-picker
Version:
Customizable Date Picker for React
11 lines (10 loc) • 431 B
TypeScript
import React, { type ThHTMLAttributes } from "react";
/**
* Render a table header cell with the name of a weekday (e.g., "Mo", "Tu").
*
* @group Components
* @see https://daypicker.dev/guides/custom-components
*/
export declare function Weekday(props: ThHTMLAttributes<HTMLTableCellElement>): React.JSX.Element;
/** Props accepted by the {@link Weekday} component. */
export type WeekdayProps = Parameters<typeof Weekday>[0];