Michał Dudak

Results 460 comments of Michał Dudak

Try importing just the icon you need instead of the whole package: https://mui.com/material-ui/guides/minimizing-bundle-size/#option-one-use-path-imports ```diff -import { Person } from "@mui/icons-material"; +import Person from "@mui/icons-material/Person"; ```

> I think this needs to be added to the docs Would you like to open a PR? > Can't we copy the [material design icons](https://materialdesignicons.com/) importing system? this bug...

@dev-ahmedhany does this problem still exist with [the PR Olivier mentioned](https://github.com/mui/material-ui/issues/35450#issuecomment-1612276423)?

I don't have any remarks on the implementation. I've noticed that the Import section on the component API tab is incorrect, as it doesn't take the `Unstable` prefix into consideration....

Two more things that I could find: The arrows are off: And the components imports are weird:

The component import is still incorrect: ```ts import Unstable_NumberInput as NumberInput from '@mui/base/Unstable_NumberInput'; ``` should be ```tsx import NumberInput from '@mui/base/Unstable_NumberInput'; ```

Thanks, I can confirm it's a bug. I've noticed a similar problem occurs on one of our demos: https://mui.com/material-ui/react-dialog/#transitions

We haven't fleshed out all the details about dialogs in Base UI. I'll take this issue into consideration when designing it.

@siriwatknp I updated the stylelint's config and fixed the new violations. As the major version changed, please take a look as a second reviewer.