mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
docs(ui-shell): add "Header with multiple switchers" example (#2112)
This commit is contained in:
parent
24b9cbc9c3
commit
a4aefad0e4
2 changed files with 95 additions and 0 deletions
|
@ -59,6 +59,16 @@ You can disable the `transition` by setting it to `false`.
|
|||
|
||||
<FileSource src="/framed/UIShell/HeaderSwitcher" />
|
||||
|
||||
## Header with multiple switchers
|
||||
|
||||
Multiple switchers can be used, and the switcher button can be customized. For example, display a tooltip using `iconDescription`.
|
||||
|
||||
Control the tooltip alignment using `tooltipAlignment`.
|
||||
|
||||
Note that providing `text` overrides the tooltip.
|
||||
|
||||
<FileSource src="/framed/UIShell/HeaderMultipleSwitcher" />
|
||||
|
||||
## Header with global search
|
||||
|
||||
<FileSource src="/framed/UIShell/HeaderSearch" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue