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

[material-ui][Badge] Make keys in anchor origin partial #43950

Merged
merged 10 commits into from
Oct 3, 2024

Conversation

sai6855
Copy link
Contributor

@sai6855 sai6855 commented Oct 1, 2024

closes: #43859

Right now, anchorOrigin prop for Badge expects both keys (horizontal | vertical) to be present when passed, but i don't think there is need to make both keys as required as internally it is possible to handle logic even if one key is passed. This PR is to make keys in anchorOrgin from required to partial

@sai6855 sai6855 added component: badge This is the name of the generic UI component, not the React module! package: material-ui Specific to @mui/material enhancement This is not a bug, nor a new feature labels Oct 1, 2024
@mui-bot
Copy link

mui-bot commented Oct 1, 2024

Netlify deploy preview

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

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against d4b7b5d

@sai6855 sai6855 requested review from ZeeshanTamboli and removed request for ZeeshanTamboli October 1, 2024 07:16
@sai6855 sai6855 marked this pull request as draft October 1, 2024 07:26
@sai6855 sai6855 marked this pull request as ready for review October 1, 2024 11:09
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

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

Looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: badge This is the name of the generic UI component, not the React module! enhancement This is not a bug, nor a new feature package: material-ui Specific to @mui/material
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[docs] Badge anchorOrigin should mention the required keys
3 participants