@@ -287,18 +287,18 @@ All of the Autocomplete's slot (`*Component`) props were deprecated in favor of
287287
288288``` diff
289289 <Autocomplete
290- - PaperComponent={CustomPaperComponent}
291- - PopperComponent={CustomPopperComponent}
292- - ListboxComponent={CustomListboxComponent}
293- + slots={{
294- + paper: CustomPaperComponent,
295- + popper: CustomPopperComponent,
296- + }}
297- + slotProps={{
298- + listbox: {
299- + component: CustomListboxComponent,
300- + },
301- + }}
290+ - PaperComponent={CustomPaperComponent}
291+ - PopperComponent={CustomPopperComponent}
292+ - ListboxComponent={CustomListboxComponent}
293+ + slots={{
294+ + paper: CustomPaperComponent,
295+ + popper: CustomPopperComponent,
296+ + }}
297+ + slotProps={{
298+ + listbox: {
299+ + component: CustomListboxComponent,
300+ + },
301+ + }}
302302 />
303303```
304304
@@ -313,12 +313,12 @@ All of the Autocomplete's slot props (`*Props`) props were deprecated in favor o
313313
314314``` diff
315315 <Autocomplete
316- - ChipProps={CustomChipProps}
317- - ListboxProps={CustomListboxProps}
318- + slotProps={{
319- + chip: CustomChipProps,
320- + listbox: CustomListboxProps,
321- + }}
316+ - ChipProps={CustomChipProps}
317+ - ListboxProps={CustomListboxProps}
318+ + slotProps={{
319+ + chip: CustomChipProps,
320+ + listbox: CustomListboxProps,
321+ + }}
322322 />
323323```
324324
0 commit comments