Skip to content
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

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

romgrk
Copy link
Contributor

@romgrk romgrk commented Dec 18, 2024

Part of the design-agnostic work.

Setup button props to replace material button props.

@romgrk romgrk added the component: data grid This is the name of the generic UI component, not the React module! label Dec 18, 2024
@romgrk romgrk requested a review from a team December 18, 2024 22:44
@mui-bot
Copy link

mui-bot commented Dec 18, 2024

Deploy preview: https://deploy-preview-15930--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against b53b4a6


export type IconButtonProps = Omit<ButtonProps, 'startIcon'> & {
color?: 'default' | 'primary';
edge?: 'start' | 'end' | false;
Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Dec 20, 2024
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants