mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
chore(prettier): use svelteStrictMode
This commit is contained in:
parent
322b238cf0
commit
42b8159b1c
182 changed files with 2020 additions and 1912 deletions
|
@ -46,16 +46,16 @@
|
|||
: "" + (uiShellAriaLabel || $$props["aria-label"] || platformName);
|
||||
</script>
|
||||
|
||||
<svelte:window bind:innerWidth={winWidth} />
|
||||
<svelte:window bind:innerWidth="{winWidth}" />
|
||||
|
||||
<header role="banner" aria-label={ariaLabel} class:bx--header={true}>
|
||||
<header role="banner" aria-label="{ariaLabel}" class:bx--header="{true}">
|
||||
<slot name="skip-to-content" />
|
||||
{#if winWidth < 1056}
|
||||
<HamburgerMenu bind:isOpen={isSideNavOpen} />
|
||||
<HamburgerMenu bind:isOpen="{isSideNavOpen}" />
|
||||
{/if}
|
||||
<a {href} class:bx--header__name={true} {...$$restProps} on:click>
|
||||
<a href="{href}" class:bx--header__name="{true}" {...$$restProps} on:click>
|
||||
{#if company}
|
||||
<span class:bx--header__name--prefix={true}>{company} </span>
|
||||
<span class:bx--header__name--prefix="{true}">{company} </span>
|
||||
{/if}
|
||||
<slot name="platform">{platformName}</slot>
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue