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

7 lines
No EOL
404 B
TypeScript

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;