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

onClick hook & dynamic active tab ?

Open squalvj opened this issue 3 years ago • 1 comments

Hi, simple and great library, but actually it misses some essential functionality

  • i want to trigger my custom function whenever i click the title tab
  • i also want to dynamically active tab from my current active state

how can i achieve these things ?

squalvj avatar Nov 10 '20 04:11 squalvj

@squalvj Sorry for my late reply. I was in a vacation. I can implement these for you. I understood the first point. But the second point you want to pass the active tab id from your component?

yazaabed avatar Nov 20 '20 09:11 yazaabed