mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-09 12:57:48 +00:00
feat: add support for new accordions
This commit is contained in:
committed by
Torsten Dittmann
parent
f3ee4bb277
commit
f6e23dbb9f
9
src/lib/components/Accordion/Root.svelte
Normal file
9
src/lib/components/Accordion/Root.svelte
Normal file
@@ -0,0 +1,9 @@
|
||||
<!-- AccordionRoot.svelte -->
|
||||
<script>
|
||||
import { getContext, setContext } from 'svelte';
|
||||
import { writable } from 'svelte/store';
|
||||
</script>
|
||||
|
||||
<ul class="collapsible u-width-full-line" style="--p-toggle-border-color: var(--aw-color-border);">
|
||||
<slot />
|
||||
</ul>
|
||||
Reference in New Issue
Block a user