1
0
Fork 0
react-playground/node_modules/@mui/x-date-pickers/hooks/useParsedFormat.d.ts
Techognito fc0f69dacb Added Statistics calculation
Statistics now show calculated values
2025-09-04 17:30:00 +02:00

16 lines
No EOL
620 B
TypeScript

interface UseParsedFormatParameters {
/**
* Format to parse.
* @default the format provided by the Picker.
*/
format?: string;
}
/**
* Returns the parsed format to be rendered in the field when there is no value or in other parts of the Picker.
* This format is localized (for example `AAAA` for the year with the French locale) and cannot be parsed by your date library.
* @param {object} The parameters needed to build the placeholder.
* @param {string} params.format Format to parse.
* @returns
*/
export declare const useParsedFormat: (parameters?: UseParsedFormatParameters) => string;
export {};