You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 20, 2021. It is now read-only.
<TabsactiveIndex={activeIndex}onAdd={this.onAdd}onChange={activeIndex=>this.setState({ activeIndex })}><TabPanelkey="1"tab={<span><Icontype="apple"/>Tab 1</span>}onClose={this.onClose}>
This is Tab 1
</TabPanel><TabPanelkey="2"tab={<span><Icontype="android"/>Tab 2</span>}onClose={this.onClose}>
This is Tab 2
</TabPanel></Tabs>
Related components
Issue
this pattern will break the control of react state. Use external function instead, such as:
Choice 2: remove TabList
Design drawing for docs