@mui/x-date-pickers
Version:
The community edition of the Date and Time Picker components (MUI X).
7 lines (6 loc) • 605 B
TypeScript
import { FieldSection, PickerValidDate, InferError } from '../../../models';
import { UsePickerValueProps, UsePickerValueParams, UsePickerValueResponse } from './usePickerValue.types';
/**
* Manage the value lifecycle of all the pickers.
*/
export declare const usePickerValue: <TValue, TDate extends PickerValidDate, TSection extends FieldSection, TExternalProps extends UsePickerValueProps<TValue, TDate, any>>({ props, valueManager, valueType, wrapperVariant, validator, }: UsePickerValueParams<TValue, TDate, TExternalProps>) => UsePickerValueResponse<TValue, TSection, InferError<TExternalProps>>;