UNPKG

@mui/x-date-pickers

Version:

The community edition of the Date and Time Picker components (MUI X).

7 lines 404 B
import * as React from 'react'; import { PickerValidValue } from "../internals/models/index.js"; export declare const IsValidValueContext: React.Context<(value: any) => boolean>; /** * Returns a function to check if a value is valid according to the validation props passed to the parent Picker. */ export declare function useIsValidValue<TValue extends PickerValidValue>(): (value: TValue) => boolean;