Skip to content

Commit

Permalink
[material-ui][Autocomplete] Fix PaperComponent prop type
Browse files Browse the repository at this point in the history
  • Loading branch information
Ektoras Tavoularis committed Apr 10, 2024
1 parent 3cde1e7 commit f969326
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mui-material/src/Autocomplete/Autocomplete.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export interface AutocompleteProps<
* The component used to render the body of the popup.
* @default Paper
*/
PaperComponent?: React.JSXElementConstructor<React.HTMLAttributes<HTMLElement>>;
PaperComponent?: React.JSXElementConstructor<PaperProps>;
/**
* The component used to position the popup.
* @default Popper
Expand Down Expand Up @@ -278,7 +278,7 @@ export interface AutocompleteProps<
*/
slotProps?: {
clearIndicator?: Partial<IconButtonProps>;
paper?: PaperProps;
paper?: Partial<PaperProps>;
popper?: Partial<PopperProps>;
popupIndicator?: Partial<IconButtonProps>;
};
Expand Down

0 comments on commit f969326

Please sign in to comment.