mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +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
|
@ -22,14 +22,14 @@
|
|||
let open = false;
|
||||
</script>
|
||||
|
||||
<Button kind="ghost" size="field" on:click="{() => (open = !open)}">
|
||||
<Button kind="ghost" size="field" on:click={() => (open = !open)}>
|
||||
{open ? "Collapse" : "Expand"}
|
||||
all
|
||||
</Button>
|
||||
|
||||
<Accordion>
|
||||
{#each items as item}
|
||||
<AccordionItem title="{item.title}" open="{open}">
|
||||
<AccordionItem title={item.title} {open}>
|
||||
<p>{item.description}</p>
|
||||
</AccordionItem>
|
||||
{/each}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue