@mui/x-date-pickers
Version:
The community edition of the Date and Time Picker components (MUI X).
9 lines (7 loc) • 296 B
JavaScript
'use client';
import * as React from 'react';
import { PickerPrivateContext } from "../components/PickerProvider.js";
/**
* Returns the private context passed by the Picker wrapping the current component.
*/
export const usePickerPrivateContext = () => React.useContext(PickerPrivateContext);