Skip to content

Commit

Permalink
[material-ui][Autocomplete] Fix renderOption props type (#42689)
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoAndai authored Jun 21, 2024
1 parent b9b9c21 commit 9ffa010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-material/src/Autocomplete/Autocomplete.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ export interface AutocompleteProps<
* @returns {ReactNode}
*/
renderOption?: (
props: React.HTMLAttributes<HTMLLIElement>,
props: React.HTMLAttributes<HTMLLIElement> & { key: any },
option: Value,
state: AutocompleteRenderOptionState,
ownerState: AutocompleteOwnerState<Value, Multiple, DisableClearable, FreeSolo, ChipComponent>,
Expand Down

0 comments on commit 9ffa010

Please sign in to comment.