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

[Tabs] Remove style-propable mixin #3236

Merged
merged 1 commit into from
Feb 8, 2016
Merged

Conversation

newoga
Copy link
Contributor

@newoga newoga commented Feb 8, 2016

No description provided.

if (this.props.selected) {
delete styles.height;
delete styles.overflow;
if (!this.props.selected) {
Copy link
Member

Choose a reason for hiding this comment

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

haha. smart move 😆 👍 👍

Copy link
Member

Choose a reason for hiding this comment

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

😍

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, believe it or not, these were the only two uses of delete in our entire code base. We should create an umbrella issue for this and close it and marvel at its glory. 😆

Copy link
Member

Choose a reason for hiding this comment

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

😆 😆 😆

@alitaheri
Copy link
Member

This is great thanks 👍

@oliviertassinari
Copy link
Member

@newoga Thanks!

oliviertassinari added a commit that referenced this pull request Feb 8, 2016
[Tabs] Remove style-propable mixin
@oliviertassinari oliviertassinari merged commit b473a35 into mui:master Feb 8, 2016
@newoga newoga deleted the #2852/tabs branch February 8, 2016 16:24
@zannager zannager added the component: tabs This is the name of the generic UI component, not the React module! label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tabs 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.

4 participants