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

18 lines
No EOL
963 B
TypeScript

import type { MakeRequired } from '@mui/x-internals/types';
import { Validator } from "./useValidation.js";
import { BaseTimeValidationProps, TimeValidationProps } from "../internals/models/validation.js";
import { TimeValidationError } from "../models/index.js";
import { PickerValue } from "../internals/models/index.js";
/**
* Validation props used by the Time Picker, Time Field and Clock components.
*/
export interface ExportedValidateTimeProps extends BaseTimeValidationProps, TimeValidationProps {}
/**
* Validation props as received by the validateTime method.
*/
export interface ValidateTimeProps extends MakeRequired<ExportedValidateTimeProps, ValidateTimePropsToDefault> {}
/**
* Name of the props that should be defaulted before being passed to the validateTime method.
*/
export type ValidateTimePropsToDefault = keyof BaseTimeValidationProps;
export declare const validateTime: Validator<PickerValue, TimeValidationError, ValidateTimeProps>;