@mui/x-date-pickers
Version:
The community edition of the MUI X Date and Time Picker components.
15 lines • 908 B
TypeScript
import * as React from 'react';
import { UseFieldStateReturnValue } from "./useFieldState.js";
import { UseFieldInternalProps } from "./useField.types.js";
/**
* 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 {};