mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
chore: format files with Prettier 3
This commit is contained in:
parent
1dcd09bd98
commit
8e996dc683
391 changed files with 3725 additions and 3785 deletions
|
@ -30,16 +30,16 @@
|
|||
</script>
|
||||
|
||||
<button
|
||||
bind:this="{ref}"
|
||||
bind:this={ref}
|
||||
type="button"
|
||||
title="{ariaLabel}"
|
||||
aria-label="{ariaLabel}"
|
||||
class:bx--header__action="{true}"
|
||||
class:bx--header__menu-trigger="{true}"
|
||||
class:bx--header__menu-toggle="{true}"
|
||||
title={ariaLabel}
|
||||
aria-label={ariaLabel}
|
||||
class:bx--header__action={true}
|
||||
class:bx--header__menu-trigger={true}
|
||||
class:bx--header__menu-toggle={true}
|
||||
{...$$restProps}
|
||||
on:click
|
||||
on:click="{() => (isOpen = !isOpen)}"
|
||||
on:click={() => (isOpen = !isOpen)}
|
||||
>
|
||||
<svelte:component this="{isOpen ? iconClose : iconMenu}" size="{20}" />
|
||||
<svelte:component this={isOpen ? iconClose : iconMenu} size={20} />
|
||||
</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue