mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
feat(ui-shell): add Header skip-to-main-content slot
This commit is contained in:
parent
62cf3be278
commit
abc66248f8
2 changed files with 4 additions and 1 deletions
|
@ -43,6 +43,7 @@
|
|||
<svelte:window bind:innerWidth={winWidth} />
|
||||
|
||||
<header role="banner" aria-label={ariaLabel} class:bx--header={true}>
|
||||
<slot name="skip-to-main-content" />
|
||||
{#if winWidth < 1056}
|
||||
<HamburgerMenu bind:isOpen={isSideNavOpen} />
|
||||
{/if}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue