@blueprintjs/datetime
Version:
Components for interacting with dates and times
15 lines (14 loc) • 541 B
TypeScript
import * as React from "react";
import { type CaptionProps } from "react-day-picker";
/**
* Custom react-day-picker caption component used in non-contiguous two-month date range pickers.
*
* We need to override the whole caption instead of its lower-level components because react-day-picker
* does not have built-in support for non-contiguous range pickers.
*
* @see https://daypicker.dev/guides/custom-components
*/
export declare const DatePickerCaption: {
(props: CaptionProps): React.JSX.Element;
displayName: string;
};