@blueprintjs/datetime
Version:
Components for interacting with dates and times
14 lines (13 loc) • 622 B
TypeScript
import { getFormattedDateString } from "../../common/dateFormatProps";
import { measureTextWidth } from "../../common/utils";
import { getDefaultMaxDate, getDefaultMinDate } from "./datePickerCore";
/**
* DatePicker-related utility functions which may be useful outside this package to
* build date/time components. Initially created for use in @blueprintjs/datetime2.
*/
export declare const DatePickerUtils: {
getDefaultMaxDate: typeof getDefaultMaxDate;
getDefaultMinDate: typeof getDefaultMinDate;
getFormattedDateString: typeof getFormattedDateString;
measureTextWidth: typeof measureTextWidth;
};