* feat(v2): Support syncing tab choices
* Move docs changes to website/docs
* Do not import entire React in TabGroupChoiceContext
* Store only one tab choice according to discussion in PR
* Remove leftover logging code during debugging
* Put storage value in separate const outside the hook-level
* Use an array to keep track of different tab groups
* Revert back to using `groupId`
* Update markdown-features.mdx
* Update markdown-features.mdx
Co-authored-by: Yangshun Tay <tay.yang.shun@gmail.com>
* fix(v2): allow to create tabs with only one item
It was not possible to have tabs containing only one tab item, so the code below crashed
```
<Tabs
defaultValue="SomeFile.js"
values={[
{ label: "SomeFile.js", value: "SomeFile.js" }
]}
>
<TabItem value="SomeFile.js">
Tab content
</TabItem>
</Tabs>
```
* Update index.js