UNPKG

@mui/joy

Version:

Joy UI is an open-source React component library that implements MUI's own design principles. It's comprehensive and can be used in production out of the box.

15 lines (14 loc) 544 B
import * as React from 'react'; import { FormControlProps } from './FormControlProps'; /** * @internal */ export type FormControlContextValue = undefined | (Pick<FormControlProps, 'error' | 'disabled' | 'required' | 'color' | 'size'> & { labelId: string; htmlFor: string | undefined; 'aria-describedby': string | undefined; setHelperText: (node: null | HTMLElement) => void; registerEffect: () => () => void; }); declare const FormControlContext: React.Context<FormControlContextValue>; export default FormControlContext;