material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[docs] Use slot variants over `theme.variants`

Open siriwatknp opened this issue 1 year ago • 1 comments

closes #30412

Based on https://github.com/mui/material-ui/issues/30412#issuecomment-1894892080, theme.variants is no longer needed.

Using slot variants reduces the API surface, allows developers to customize any slot, and is compatible with Pigment CSS too.

siriwatknp avatar Jun 11 '24 07:06 siriwatknp

Netlify deploy preview

Bundle size report

No bundle size changes (Toolpad) No bundle size changes

Generated by :no_entry_sign: dangerJS against 781491375d2c6f65aba0f4bd73b99e7fbfda77f6

mui-bot avatar Jun 11 '24 07:06 mui-bot