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

9 lines
No EOL
710 B
TypeScript

import * as React from 'react';
import type { UseFieldInternalProps } from "./useField/index.js";
import { FieldRef } from "../../models/index.js";
import { PickerRangeValue, PickerValue } from "../models/index.js";
export declare const PickerFieldPrivateContext: React.Context<PickerFieldPrivateContextValue | null>;
export declare function useNullableFieldPrivateContext(): PickerFieldPrivateContextValue | null;
export interface PickerFieldPrivateContextValue extends Pick<UseFieldInternalProps<any, any, any>, 'formatDensity' | 'enableAccessibleFieldDOMStructure' | 'selectedSections' | 'onSelectedSectionsChange'> {
fieldRef: React.RefObject<FieldRef<PickerValue> | FieldRef<PickerRangeValue> | null>;
}