@mui/x-date-pickers-pro
Version:
The Pro plan edition of the MUI X Date and Time Picker components.
14 lines • 599 B
TypeScript
import * as React from 'react';
import { DateOrTimeViewWithMeridiem } from '@mui/x-date-pickers/internals';
import { UseStaticRangePickerParams, UseStaticRangePickerProps } from "./useStaticRangePicker.types.js";
/**
* Hook managing all the range static pickers:
* - StaticDateRangePicker
*/
export declare const useStaticRangePicker: <TView extends DateOrTimeViewWithMeridiem, TExternalProps extends UseStaticRangePickerProps<TView, any, TExternalProps>>({
props,
steps,
...pickerParams
}: UseStaticRangePickerParams<TView, TExternalProps>) => {
renderPicker: () => React.JSX.Element;
};