-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IconButton][material-next] Copy IconButton to material-next #39945
[IconButton][material-next] Copy IconButton to material-next #39945
Conversation
Netlify deploy previewhttps://deploy-preview-39945--material-ui.netlify.app/ Bundle size reportDetails of bundle changes (Toolpad) |
7e4034c
to
def1505
Compare
import ButtonBase from '@mui/material/ButtonBase'; | ||
import { iconButtonClasses as classes } from '@mui/material/IconButton'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Importing these from material-next
right now now will fail most of the tests because of focusRipple
being dropped from ButtonBase
, easier to keep them as-is instead of adding .skip()
to a bunch of tests
import { alpha } from '@mui/system'; | ||
import styled from '../styles/styled'; | ||
import useThemeProps from '../styles/useThemeProps'; | ||
import ButtonBase from '../ButtonBase'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also cannot import from material-next
yet due to focusRipple
def1505
to
697c5d1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Part of #39943
This PR copies
IconButton
tomaterial-next
with minimal changes