Files
avz-site/node_modules/react-day-picker/dist/cjs/helpers/getDataAttributes.d.ts
T
2026-05-30 19:59:39 -03:00

12 lines
449 B
TypeScript

import type { DayPickerProps } from "../types/index.js";
/**
* Extracts `data-` attributes from the DayPicker props.
*
* This function collects all `data-` attributes from the props and adds
* additional attributes based on the DayPicker configuration.
*
* @param props The DayPicker props.
* @returns An object containing the `data-` attributes.
*/
export declare function getDataAttributes(props: DayPickerProps): Record<string, unknown>;