Support global groups in <Tabs> components to allow switching all tab groups on a page to a particular tab in one click.
This can be useful for setup instructions with multiple platforms or libraries that support multiple options.
For example, choosing a platform (say Web modular API) in the firebase docs switches all tab components to Web modular API so the user doesn't have to make the same selection over and over again.
This can be implemented with an optional tabs-group prop on the <Tabs> component, and an optional tab-id prop on the <Tab> component that defaults to title prop if the parent <Tabs> component has tabs-group set.
Support global groups in
<Tabs>
components to allow switching all tab groups on a page to a particular tab in one click. This can be useful for setup instructions with multiple platforms or libraries that support multiple options. For example, choosing a platform (sayWeb modular API
) in the firebase docs switches all tab components toWeb modular API
so the user doesn't have to make the same selection over and over again.This can be implemented with an optional
tabs-group
prop on the<Tabs>
component, and an optionaltab-id
prop on the<Tab>
component that defaults totitle
prop if the parent<Tabs>
component hastabs-group
set.