@mui/x-date-pickers
Version:
The community edition of the Date and Time Picker components (MUI X).
7 lines (6 loc) • 454 B
TypeScript
import { Validator } from './useValidation';
import { BaseTimeValidationProps, TimeValidationProps } from '../internals/models/validation';
import { PickerValidDate, TimeValidationError } from '../models';
export interface ValidateTimeProps<TDate extends PickerValidDate> extends Required<BaseTimeValidationProps>, TimeValidationProps<TDate> {
}
export declare const validateTime: Validator<any | null, any, TimeValidationError, ValidateTimeProps<any>>;