Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[TextField] Add TextFieldFormHelperTextSlotPropsOverrides
Fixes #47230
  • Loading branch information
kumarvishwajeettrivedi committed Nov 25, 2025
commit 06330f8592e63f324a952e025e8ae5c79f339b78
8 changes: 7 additions & 1 deletion packages/mui-material/src/TextField/TextField.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ export interface TextFieldSlots {
select: React.ElementType;
}

export interface TextFieldFormHelperTextSlotPropsOverrides {}

export type TextFieldSlotsAndSlotProps<InputPropsType> = CreateSlotsAndSlotProps<
TextFieldSlots,
{
Expand Down Expand Up @@ -77,7 +79,11 @@ export type TextFieldSlotsAndSlotProps<InputPropsType> = CreateSlotsAndSlotProps
* Props forwarded to the form helper text slot.
* By default, the available props are based on the [FormHelperText](https://mui.com/material-ui/api/form-helper-text/#props) component.
*/
formHelperText: SlotProps<React.ElementType<FormHelperTextProps>, {}, TextFieldOwnerState>;
formHelperText: SlotProps<
React.ElementType<FormHelperTextProps>,
TextFieldFormHelperTextSlotPropsOverrides,
TextFieldOwnerState
>;
/**
* Props forwarded to the select slot.
* By default, the available props are based on the [Select](https://mui.com/material-ui/api/select/#props) component.
Expand Down
Loading