Skip to content

Commit 1717890

Browse files
committed
fix types
1 parent 58ba9c3 commit 1717890

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/mui-base/src/AutocompleteUnstyled/useAutocomplete.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,8 @@ export default function useAutocomplete<
333333
getInputProps: () => React.InputHTMLAttributes<HTMLInputElement>;
334334
// We pass `getInputLabelProps()` to `@mui/material/InputLabel` which does not implement HTMLLabelElement#color.
335335
getInputLabelProps: () => Omit<React.HTMLAttributes<HTMLLabelElement>, 'color'>;
336-
getClearProps: () => React.HTMLAttributes<HTMLDivElement>;
337-
getPopupIndicatorProps: () => React.HTMLAttributes<HTMLDivElement>;
336+
getClearProps: () => React.HTMLAttributes<HTMLButtonElement>;
337+
getPopupIndicatorProps: () => React.HTMLAttributes<HTMLButtonElement>;
338338
getTagProps: AutocompleteGetTagProps;
339339
getListboxProps: () => React.HTMLAttributes<HTMLUListElement>;
340340
getOptionProps: ({

0 commit comments

Comments
 (0)