-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[DataGrid] Refactor: create base button props #15930
base: master
Are you sure you want to change the base?
Conversation
Deploy preview: https://deploy-preview-15930--material-ui-x.netlify.app/ |
|
||
export type IconButtonProps = Omit<ButtonProps, 'startIcon'> & { | ||
color?: 'default' | 'primary'; | ||
edge?: 'start' | 'end' | false; |
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.
There are quite a few props for buttons that don't make sense in a non-Material UI world, including this, but I think we can fine tune these later.
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.
You mean edge
? Yeah I guess so, though if we remove it I'm sure it's going to cause a visual regression somewhere. I'm still wondering how we're going to add those little tunings while being design-system agnostic.
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Part of the design-agnostic work.
Setup button props to replace material button props.