headless-react-datepicker
Version:
A headless, highly customizable, multi-calendar date picker component for React. It supports various calendars and locales.
19 lines (18 loc) • 369 B
TypeScript
export type TTitleProps = {
/**
* @default "numeric"
*/
yearFormat?: "numeric" | "2-digit";
/**
* @default "short"
*/
monthFormat?: "numeric" | "2-digit" | "long" | "short" | "narrow";
/**
* className of the title
*/
className?: string;
/**
* style of the title
*/
style?: React.CSSProperties;
};