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 Switch #16527

Merged
merged 2 commits into from
Feb 14, 2025

Conversation

romgrk
Copy link
Contributor

@romgrk romgrk commented Feb 11, 2025

Part of the design-system agnostic work.

Create base Switch component. This is not used at the moment but will be by #9877.

@romgrk romgrk added the component: data grid This is the name of the generic UI component, not the React module! label Feb 11, 2025
@romgrk romgrk requested a review from cherniavskii February 11, 2025 04:16
Comment on lines +156 to +161
export type SwitchProps = {
checked?: boolean;
onChange?: React.ChangeEventHandler;
size?: 'small' | 'medium';
};

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I based this on the usage in the pivoting PR.

@mui-bot
Copy link

mui-bot commented Feb 11, 2025

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

Generated by 🚫 dangerJS against 03078e5

@romgrk romgrk merged commit a7de08f into mui:master Feb 14, 2025
18 checks passed
@romgrk romgrk deleted the refactor-agnostic-switch branch February 14, 2025 00:16
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