UNPKG

@mui/x-date-pickers

Version:

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

15 lines 910 B
import * as React from 'react'; import { UseFieldStateReturnValue } from "./useFieldState.mjs"; import { UseFieldInternalProps } from "./useField.types.mjs"; /** * Generate the props to pass to the container element of each section of the field. * @param {UseFieldSectionContainerPropsParameters} parameters The parameters of the hook. * @returns {UseFieldSectionContainerPropsReturnValue} The props to forward to the container element of each section of the field. */ export declare function useFieldSectionContainerProps(parameters: UseFieldSectionContainerPropsParameters): UseFieldSectionContainerPropsReturnValue; interface UseFieldSectionContainerPropsParameters { stateResponse: UseFieldStateReturnValue<any>; internalPropsWithDefaults: UseFieldInternalProps<any, any>; } type UseFieldSectionContainerPropsReturnValue = (sectionIndex: number) => React.HTMLAttributes<HTMLSpanElement>; export {};