LeftTabContainer
Author: yaoang
React Container with left tabs
How to use
First, you must install this component
npm install --save react-left-tab-container
secondly import in your page
const LeftTabItem = LeftTabContainerItem;
and then use in your page
<LeftTabContainer onSelect={this.handleSelect} activedId={id}> <TabItem id="1" title="Tab1" > <TabChild {...some_props} /> </TabItem> <TabItem id="2" title="Tab2" > <TabChild {...some_props} /> </TabItem> <TabItem id="3" title="Tab3" > <TabChild {...some_props} /> </TabItem> </LeftTabContainer>
{ /* Your change event here */ }