diff --git a/packages/mui-material/src/FormControl/FormControl.d.ts b/packages/mui-material/src/FormControl/FormControl.d.ts index ce476902f3b549..062d78db66d4fe 100644 --- a/packages/mui-material/src/FormControl/FormControl.d.ts +++ b/packages/mui-material/src/FormControl/FormControl.d.ts @@ -12,7 +12,7 @@ export interface FormControlOwnProps { /** * The content of the component. */ - children?: React.ReactNode; + children?: React.HTMLAttributes['children']; /** * Override or extend the styles applied to the component. */ diff --git a/packages/mui-material/src/FormLabel/FormLabel.d.ts b/packages/mui-material/src/FormLabel/FormLabel.d.ts index 1bb86653a50994..f332f4d1c1a33d 100644 --- a/packages/mui-material/src/FormLabel/FormLabel.d.ts +++ b/packages/mui-material/src/FormLabel/FormLabel.d.ts @@ -16,7 +16,7 @@ export interface FormLabelOwnProps { /** * The content of the component. */ - children?: React.ReactNode; + children?: React.LabelHTMLAttributes['children']; /** * Override or extend the styles applied to the component. */ diff --git a/packages/mui-material/src/InputLabel/InputLabel.d.ts b/packages/mui-material/src/InputLabel/InputLabel.d.ts index d14ab786e97ab1..d35c933cac7be5 100644 --- a/packages/mui-material/src/InputLabel/InputLabel.d.ts +++ b/packages/mui-material/src/InputLabel/InputLabel.d.ts @@ -8,11 +8,7 @@ import { OverridableComponent, OverrideProps } from '../OverridableComponent'; export interface InputLabelPropsSizeOverrides {} -export interface InputLabelOwnProps { - /** - * The content of the component. - */ - children?: React.ReactNode; +export interface InputLabelOwnProps extends Pick { /** * Override or extend the styles applied to the component. */ diff --git a/packages/mui-material/src/TextField/TextField.d.ts b/packages/mui-material/src/TextField/TextField.d.ts index ea2cf116bd365b..295dfd5d1c87f9 100644 --- a/packages/mui-material/src/TextField/TextField.d.ts +++ b/packages/mui-material/src/TextField/TextField.d.ts @@ -36,7 +36,7 @@ export interface BaseTextFieldProps /** * @ignore */ - children?: React.ReactNode; + children?: FormControlProps['children']; /** * Override or extend the styles applied to the component. */