-
Notifications
You must be signed in to change notification settings - Fork 25
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
Implement Tab Component #20
Labels
Comments
thanks, @manoj150283 |
kradio3
added a commit
that referenced
this issue
May 23, 2017
kradio3
added a commit
that referenced
this issue
May 23, 2017
@manoj150283 do you have an example for tab component with Toolbar? |
Hi @gasolin , <Toolbar
fixed
z={4}
>
<ToolbarSection>
<Tabbar>
<Tab
active={this.state.activeTab===1}
onClick={() => {this.setState({activeTab:1})}}
>
Item One
</Tab>
<Tab
active={this.state.activeTab===2}
onClick={() => {this.setState({activeTab:2})}}
>
Item Two
</Tab>
<Tab
active={this.state.activeTab===3}
onClick={() => {this.setState({activeTab:3})}}
>
Item Three
</Tab>
</Tabbar>
</ToolbarSection>
</Toolbar> |
@kradio3 thanks it works, though if I wrap the tab text content with The workaround now is adding extra style in each link to inherit the style.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/material-components/material-components-web/tree/feat/mdc-tabs/packages/mdc-tabs
The text was updated successfully, but these errors were encountered: