UNPKG

@mui/x-date-pickers

Version:

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

18 lines 830 B
import * as React from 'react'; import { PickerAnyManager } from "../../models/manager.mjs"; import { UseFieldStateReturnValue } from "./useFieldState.mjs"; /** * Generate the props to pass to the hidden input element of the field. * @param {UseFieldHiddenInputPropsParameters} parameters The parameters of the hook. * @returns {UseFieldHiddenInputPropsReturnValue} The props to forward to the hidden input element of the field. */ export declare function useFieldHiddenInputProps(parameters: UseFieldHiddenInputPropsParameters): UseFieldHiddenInputPropsReturnValue; interface UseFieldHiddenInputPropsParameters { manager: PickerAnyManager; stateResponse: UseFieldStateReturnValue<any>; } interface UseFieldHiddenInputPropsReturnValue { value: string; onChange: React.ChangeEventHandler<HTMLInputElement>; } export {};