score:2

class App extends Component {
  constructor() {
    super();
    this.state = { tabIndex: 0 };
  }
  render() {
    return (
      <Tabs onSelect={tabIndex => this.setState({ tabIndex })}>
        <TabList>
          <Tab>Title 1</Tab>
          <Tab>Title 2</Tab>
        </TabList>
        <div style={this.state.tabIndex===0 ? 
          {display:"block"}: {display:"none"}} >
        </div>
        
        <div style={this.state.tabIndex===0 ? 
          {display:"block"}: {display:"none"}} >
        </div>

      </Tabs>
    );
  }
}

score:5

<Tabs
  onSelect={this.handleSelect}
  selectedIndex={2}
  forceRenderTabPanel={true}
>

Related Query

More Query from same tag