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

[Fab] Make the color prop type extendable #31830

Merged
merged 3 commits into from
May 18, 2022

Conversation

paales
Copy link
Contributor

@paales paales commented Mar 16, 2022

@mui-bot
Copy link

mui-bot commented Mar 16, 2022

No bundle size changes

Generated by 🚫 dangerJS against 496fcfd

@danilo-leal danilo-leal changed the title Make material Input, Fab and joy SvgIcon color prop extendable Make Material's Input, Fab, and Joy's SvgIcon color prop extendable Mar 16, 2022
@danilo-leal danilo-leal added component: text field This is the name of the generic UI component, not the React module! component: Fab The React component. component: SvgIcon The React component. package: joy-ui Specific to @mui/joy new feature New feature or request labels Mar 16, 2022
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Apr 8, 2022
@FeliciousX
Copy link

almost made a similar PR!

@@ -358,7 +358,10 @@ Input.propTypes /* remove-proptypes */ = {
* The color of the component. It supports those theme colors that make sense for this component.
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
*/
color: PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']),
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([
Copy link
Member

Choose a reason for hiding this comment

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

Note this is in an experimental package, is not the @mui/material one :)

@mnajdova mnajdova changed the title Make Material's Input, Fab, and Joy's SvgIcon color prop extendable [Fab] Make the color prop type extendable May 18, 2022
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label May 18, 2022
Copy link
Member

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

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

👌

@mnajdova mnajdova merged commit db82964 into mui:master May 18, 2022
@paales
Copy link
Contributor Author

paales commented May 18, 2022

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Fab The React component. component: SvgIcon The React component. component: text field This is the name of the generic UI component, not the React module! new feature New feature or request package: joy-ui Specific to @mui/joy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants