Component Tab
The tabs component is used to create a container that wraps all other tab components.
Example
Props
Attr | Type | Default | Docs |
---|---|---|---|
active | boolean | This boolean controls if the tab is active. | |
dark | boolean | false | |
name | string | This property sets the name of the tab. | |
tab-id | string | generateId('som-tab') | This property can be used to specifically set an ID to the tab. If an ID is not provided, it will be dynamically generated. |
Events
Event | Detail | Docs |
---|---|---|
tabClick | any |
Healthy content is accurate and represents our most up-to-date recommendations.
Do you have an idea, or want to help us improve this page? Reach out to us via email.
DTMB-DG-Support@michigan.govNeed help? Visit our Support page to learn how to get assistance, troubleshoot issues, and connect with the team.
Do you have an idea, or want to help us improve this page? Reach out to us via email.
DTMB-DG-Support@michigan.govNeed help? Visit our Support page to learn how to get assistance, troubleshoot issues, and connect with the team.