Add additional prop validation to Tabs component (#8267)
The Tabs component expects the `children` prop to be either a single Tab component or an array of Tab components, and the internal tab index should always map onto one of these components. However, if an invalid tab index was set, it was just returning the first tab contents. Instead it will now validate that the tab being asked for does exist, and throw an error otherwise.feature/default_network_editable
parent
6ba3b7e282
commit
3f2bf36f6a
Loading…
Reference in new issue