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

[RaisedButton] Remove style-propable mixin #3263

Merged
merged 1 commit into from
Feb 11, 2016

Conversation

newoga
Copy link
Contributor

@newoga newoga commented Feb 9, 2016

This one was not easy. It's much improved I think but could probably use a revisit one day.

} else if (props.secondary) {
backgroundColor = raisedButton.secondaryColor;
labelColor = raisedButton.secondaryTextColor;
}
Copy link
Member

Choose a reason for hiding this comment

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

All my nagging have finally paid off 😍 😆 😆

Although the extra props. seems unnecessary O.o

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Haha you never gave up on me! 😆

Good call on the props!

Copy link
Member

Choose a reason for hiding this comment

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

😆 😆

@oliviertassinari oliviertassinari added PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI and removed PR: Needs Review labels Feb 10, 2016
@newoga newoga added PR: Needs Review and removed PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI labels Feb 11, 2016
@newoga
Copy link
Contributor Author

newoga commented Feb 11, 2016

  • Used desctructured props variables instead of props.variable (comment)
  • Added icon styles in style object and returned anonymous object (comment)

@alitaheri
Copy link
Member

Alright this is great 👍 👍

@oliviertassinari
Copy link
Member

This one was not easy.

@newoga I can see that 👏.

oliviertassinari added a commit that referenced this pull request Feb 11, 2016
[RaisedButton] Remove style-propable mixin
@oliviertassinari oliviertassinari merged commit 0f1b16f into mui:master Feb 11, 2016
@newoga newoga deleted the #2852/raised-button branch February 13, 2016 17:06
@zannager zannager added component: button This is the name of the generic UI component, not the React module! package: styles Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5. labels Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: button This is the name of the generic UI component, not the React module! package: styles Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants