UNPKG

react-day-picker

Version:

Customizable Date Picker for React

19 lines (18 loc) 555 B
import { FormatOptions } from "../lib/index.js"; import type { DateLib } from "../types/index.js"; /** * Format the caption of the month. * * @defaultValue `LLLL y` (e.g. "November 2022") * @group Formatters * @see https://daypicker.dev/docs/translation#custom-formatters */ export declare function formatCaption(month: Date, options?: FormatOptions, /** @ignore */ dateLib?: DateLib): string; /** * @private * @deprecated Use {@link formatCaption} instead. * @group Formatters */ export declare const formatMonthCaption: typeof formatCaption;