tabs
tabs copied to clipboard
How to set a default tab to be active?
when using the example from the readme non of the panels content is visible unless you click on one of the tabs. how to you show a panel by default?
found the answer after checking source code, you pass state to <Tabs /> what is odd is that the tabs indexes are 1,3,5 etc instead of 0,1,2...
UPDATE: this bug appears if you use React.StrictMode .. not sure why
found the answer after checking source code, you pass state to what is odd is that the tabs indexes are 1,3,5 etc instead of 0,1,2...
UPDATE: this bug appears if you use React.StrictMode .. not sure why
The same problem
My problem was solved with this: #60 Check it, please.