UNPKG

@mui/x-date-pickers-pro

Version:

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

10 lines (9 loc) 403 B
import * as React from 'react'; import { PickerRangePositionContext } from "../../hooks/usePickerRangePositionContext.js"; /** * Returns information about the range position of the picker that wraps the current component. * If no picker wraps the current component, returns `null`. */ export function useNullablePickerRangePositionContext() { return React.useContext(PickerRangePositionContext); }