react-tabs icon indicating copy to clipboard operation
react-tabs copied to clipboard

onclick of button how to handle open selected tab

Open komalharmale opened this issue 4 years ago • 0 comments

I have use react-tabs library. when i click on tab its navigating to particular page its working properly as expected. now i want to implement same functionality for button click is this possible to open tab onClick of Button

Syntax:
<Tabs>
<TabList>
<Tab>
//dynamically adding tab here
</Tab>
</TabList>
</Tabs>

i have use one button -initially tab showing index zero position Tab Now when i am clicking on button that time i want to set its index value 3 . i want to show active tab index 3 position

komalharmale avatar Nov 24 '21 11:11 komalharmale