class TabsExample extends React.Component { state = { index: 1, fixedIndex: 1, inverseIndex: 1 }; handleTabChange = (index) => { this.setState({index}); }; handleFixedTabChange = (index) => { this.setState({fixedIndex: index}); }; handleInverseTabChange = (index) => { this.setState({inverseIndex: index}); }; handleActive = () => { console.log('Special one activated'); }; render () { return (
Primary content Secondary content Disabled content Fifth content
Fixed Tabs
First Content Second Content Third Content
Inverse Tabs
First Content Second Content Third Content Disabled Content
); } } return ;