docs(ui-shell): add "Header with multiple switchers" example (#2112)

This commit is contained in:
Eric Liu 2025-03-09 13:59:36 -07:00 committed by GitHub
commit a4aefad0e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 95 additions and 0 deletions

View file

@ -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" />