-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
paales
commented
Mar 16, 2022
- I have followed (at least) the PR section of the contributing guide.
danilo-leal
changed the title
Make material Input, Fab and joy SvgIcon color prop extendable
Make Material's Mar 16, 2022
Input
, Fab
, and Joy's SvgIcon
color prop extendable
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
bot
added
the
PR: out-of-date
The pull request has merge conflicts and can't be merged
label
Apr 8, 2022
almost made a similar PR! |
mnajdova
reviewed
May 18, 2022
@@ -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([ |
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.
Note this is in an experimental package, is not the @mui/material one :)
mnajdova
changed the title
Make Material's
[Fab] Make the May 18, 2022
Input
, Fab
, and Joy's SvgIcon
color prop extendablecolor
prop type extendable
github-actions
bot
removed
the
PR: out-of-date
The pull request has merge conflicts and can't be merged
label
May 18, 2022
mnajdova
approved these changes
May 18, 2022
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.
👌
Thank you! |
1 task
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.