Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(v2): allows to create tabs with only one item (#1934)
* 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
- Loading branch information