UNPKG

@mui/x-date-pickers

Version:

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

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