mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
docs(uishell): better descriptions
This commit is contained in:
parent
d941f887a3
commit
2424b32c87
2 changed files with 15 additions and 15 deletions
|
@ -109,9 +109,9 @@
|
|||
};
|
||||
</script>
|
||||
|
||||
{#if story === 'base'}
|
||||
{#if story === 'header'}
|
||||
<Header {...$$props} />
|
||||
{:else if story === 'with-header-and-nav'}
|
||||
{:else if story === 'header-with-nav'}
|
||||
<Header {...$$props}>
|
||||
<HeaderNav>
|
||||
<HeaderNavItem href="/" text="Link 1" />
|
||||
|
@ -124,7 +124,7 @@
|
|||
</HeaderNavMenu>
|
||||
</HeaderNav>
|
||||
</Header>
|
||||
{:else if story === 'with-utilities'}
|
||||
{:else if story === 'header-with-utilities'}
|
||||
<Header {...$$props}>
|
||||
<HeaderUtilities>
|
||||
<HeaderActionSearch />
|
||||
|
@ -142,7 +142,7 @@
|
|||
<HeaderActionLink type="Account" icon={iAccount} />
|
||||
</HeaderUtilities>
|
||||
</Header>
|
||||
{:else if story === 'with-switcher'}
|
||||
{:else if story === 'header-with-switcher'}
|
||||
<Header {...$$props}>
|
||||
<HeaderUtilities>
|
||||
<HeaderAction type="Switcher" icon={iSwitcher} isOpen={true}>
|
||||
|
@ -159,7 +159,7 @@
|
|||
</HeaderAction>
|
||||
</HeaderUtilities>
|
||||
</Header>
|
||||
{:else if story === 'with-sidenav'}
|
||||
{:else if story === 'header-and-sidenav'}
|
||||
<Header bind:isSideNavOpen {...$$props} />
|
||||
<SideNav isOpen={isSideNavOpen}>
|
||||
<SideNavItems>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue