mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
feat(prettier): add svelteBracketNewLine
This commit is contained in:
parent
7a28d21ceb
commit
398887a3d3
182 changed files with 974 additions and 494 deletions
|
@ -71,7 +71,8 @@
|
|||
on:click|stopPropagation="{() => {
|
||||
isOpen = !isOpen;
|
||||
dispatch(isOpen ? 'open' : 'close');
|
||||
}}">
|
||||
}}"
|
||||
>
|
||||
<Icon render="{isOpen ? Close20 : AppSwitcher20}" {...icon} />
|
||||
<slot name="text">
|
||||
{#if text}<span>{text}</span>{/if}
|
||||
|
@ -82,7 +83,8 @@
|
|||
bind:this="{refPanel}"
|
||||
class:bx--header-panel="{true}"
|
||||
class:bx--header-panel--expanded="{true}"
|
||||
transition:slide="{{ duration: 200 }}">
|
||||
transition:slide="{{ duration: 200 }}"
|
||||
>
|
||||
<slot />
|
||||
</div>
|
||||
{/if}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue