Skip to content

Conversation

siriwatknp
Copy link
Member

closes #43527

@siriwatknp siriwatknp added package: codemod Specific to codemod. v6.x labels Aug 30, 2024
@mui-bot
Copy link

mui-bot commented Aug 30, 2024

Netlify deploy preview

https://deploy-preview-43532--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against cee2d52

@DiegoAndai
Copy link
Member

@siriwatknp I refactored to cover the following case:

import ListItem from '@mui/material/ListItem';

// ...

<>
  <ListItem />
  <ListItem button />
</>

In which there are no imports to remove but we still need to add the ListItemButton one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: codemod Specific to codemod. v6.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

list-item-button-prop codemod adds ListItemButton import to all files
3 participants