import { Accordion, AccordionItem } from '@skeletonlabs/skeleton-svelte';
// import IconChevronUp from 'lucide-svelte/icons/chevron-up';
// import IconChevronDown from 'lucide-svelte/icons/chevron-down';
import Skull from 'lucide-svelte/icons/skull';
'Lorem ipsum dolor, sit amet consectetur adipisicing elit. Sit esse nisi eligendi fuga! Quas nisi repellat adipisci animi repellendus incidunt laborum sunt qui nesciunt, ducimus saepe sapiente sed ut labore. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Sit esse nisi eligendi fuga! Quas nisi repellat adipisci animi repellendus incidunt laborum sunt qui nesciunt, ducimus saepe sapiente sed ut labore.';
const ontoggle = (e: Event) => console.log(e);
// FIXME: required for Astro bug
<!-- {#snippet iconOpen()}<IconChevronUp size={20} />{/snippet} -->
<!-- {#snippet iconClosed()}<IconChevronDown size={20} />{/snippet} -->
<AccordionItem id="svelteItem1" {ontoggle} open>
{#snippet controlLead()}<Skull size={24} />{/snippet}
{#snippet control()}Svelte Control 1{/snippet}
{#snippet panel()}Svelte Panel 1 - {lorem}{/snippet}
<AccordionItem id="svelteItem2" {ontoggle}>
{#snippet control()}Svelte Control 2{/snippet}
{#snippet panel()}Svelte Panel 2 - {lorem}{/snippet}
<AccordionItem id="svelteItem3" {ontoggle} disabled>
{#snippet control()}Svelte Control 3 (disabled){/snippet}
{#snippet panel()}Svelte Panel 3 - {lorem}{/snippet}
<AccordionItem id="svelteItem4" {ontoggle}>
{#snippet control()}Svelte Control 4{/snippet}
{#snippet panel()}Svelte Panel 4 - {lorem}{/snippet}