If anyone is looking for a good tab component for the time being, I would recommend react-tabs.
I'm picking this up! Will be creating a PR shortly. Please no duplicate PR's for this. 馃憤
@tarang9211 There is a PR for this one here #430. It is quite stale, so updating it would be good as well.
@tarang9211 Check this out.
@tarang9211 any status on the PR?
Check the PR for the latest updates, I've been poking at this as I find time.
Perhaps I'm missing something, but is this not already a thing? http://react.semantic-ui.com/collections/menu#menu-example-tabular
@AdeelK93 It references this https://semantic-ui.com/modules/tab.html not menus-related
To me, the jquery semantic:
<div class="ui tabular menu">
looks identical to the react semantic:
<Menu tabular />
in terms of appearance and functionality, right?
Update
I've been using the Menu component from Semantic React and it works fine for tabs!
Utilizing the Switch and Route components from React Router v4, you can do this (summarized code):
```
const STATES = {
c1: 'c1',
c2: 'c2',
c3: 'c3'
};
// inside component ...
this.state = {
activeItem: STATES.c1
};
handleItemClick(e, {name}) {
this.setState({
activeItem: name
});
}
render() {
return
Yep, this is exactly what this PR is doing :)
@levithomason Are you working on this PR? If not do you know whom is and it's status? Do you or that person need help?
This is finally merged. It will go out in 0.70.0 very soon.
Most helpful comment
This is finally merged. It will go out in
0.70.0very soon.