mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
refactor(uishell): rename files
This commit is contained in:
parent
45509ae516
commit
e2375b2a12
12 changed files with 72 additions and 64 deletions
|
@ -3,11 +3,11 @@
|
|||
export let href = undefined;
|
||||
export let company = undefined;
|
||||
export let platformName = undefined;
|
||||
export let isSideNavOpen = undefined;
|
||||
|
||||
import { cx } from '../../lib';
|
||||
import HamburgerMenu from './SideNav/HamburgerMenu.svelte';
|
||||
|
||||
let isSideNavOpen = undefined;
|
||||
let winWidth = undefined;
|
||||
$: isSideNavOpen = winWidth >= 1056;
|
||||
|
||||
|
@ -24,7 +24,5 @@
|
|||
<span class={cx('--header__name--prefix')}>{company}</span>
|
||||
{platformName}
|
||||
</a>
|
||||
<slot name="Nav" />
|
||||
<slot />
|
||||
<slot name="SideNav" />
|
||||
</header>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue