react-day-picker
Version:
Customizable Date Picker for React
9 lines (8 loc) • 335 B
TypeScript
import type { DayPickerProps, Labels } from "../types/index.js";
/**
* Merges custom labels from the props with the default labels.
*
* @param customLabels The custom labels provided in the DayPicker props.
* @returns The merged labels object.
*/
export declare function getLabels(customLabels: DayPickerProps["labels"]): Labels;