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

Use React.Childrent.count to determine number of tabs #1015

Merged
merged 1 commit into from
Jul 2, 2015

Conversation

rolandpoulter
Copy link
Contributor

For #940

Before:
image

After:
image

@@ -39,6 +39,10 @@ let Tabs = React.createClass({
);
},

getTabCount() {
return React.Children.count(this.props.children);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

hai-cea added a commit that referenced this pull request Jul 2, 2015
Use React.Childrent.count to determine number of tabs
@hai-cea hai-cea merged commit e20c9a8 into mui:master Jul 2, 2015
@hai-cea
Copy link
Member

hai-cea commented Jul 2, 2015

Thanks @rolandpoulter !

@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.

3 participants