mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41: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
|
@ -20,15 +20,15 @@
|
|||
<button
|
||||
type="button"
|
||||
title="Open menu"
|
||||
aria-label={ariaLabel}
|
||||
class:bx--header__action={true}
|
||||
class:bx--header__menu-trigger={true}
|
||||
class:bx--header__menu-toggle={true}
|
||||
aria-label="{ariaLabel}"
|
||||
class:bx--header__action="{true}"
|
||||
class:bx--header__menu-trigger="{true}"
|
||||
class:bx--header__menu-toggle="{true}"
|
||||
{...$$restProps}
|
||||
transition:fly={{ x: -200, delay: 50, duration: 250 }}
|
||||
transition:fly="{{ x: -200, delay: 50, duration: 250 }}"
|
||||
on:click
|
||||
on:click={() => (isOpen = !isOpen)}>
|
||||
on:click="{() => (isOpen = !isOpen)}">
|
||||
<Icon
|
||||
title={isOpen ? 'Close' : 'Open Menu'}
|
||||
render={isOpen ? Close20 : Menu20} />
|
||||
title="{isOpen ? 'Close' : 'Open Menu'}"
|
||||
render="{isOpen ? Close20 : Menu20}" />
|
||||
</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue