ScopeSwitcher
A popover trigger that shows the current scope and links to switch between scopes.
beta
API
import ScopeSwitcher from '@tcpsystems/ui/foundation/ScopeSwitcher';| Prop | Type | Default |
|---|---|---|
id | string | none |
label | string | none |
current | { name: string; href?: string } | none |
options | Option[] | none |
createHref? | string | none |
createLabel? | string | none |
| Hook | Kind |
|---|---|
.tcp-scope-switcher | Root class |