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

8 lines
No EOL
629 B
TypeScript

import * as React from 'react';
import type { PickerContextValue } from "../internals/components/PickerProvider.js";
import { DateOrTimeViewWithMeridiem, PickerValidValue, PickerValue } from "../internals/models/index.js";
export declare const PickerContext: React.Context<PickerContextValue<any, any, any> | null>;
/**
* Returns the context passed by the Picker wrapping the current component.
*/
export declare const usePickerContext: <TValue extends PickerValidValue = PickerValue, TView extends DateOrTimeViewWithMeridiem = DateOrTimeViewWithMeridiem, TError = string | null>() => PickerContextValue<TValue, TView, TError>;