👽️ Updated legacy svelte components to runes
All checks were successful
Build and deploy website / build (push) Successful in 1m7s
All checks were successful
Build and deploy website / build (push) Successful in 1m7s
This commit is contained in:
@ -1,10 +1,16 @@
|
||||
<script lang="ts">
|
||||
export let title: string = ""
|
||||
|
||||
interface Props {
|
||||
title?: string
|
||||
children: any
|
||||
}
|
||||
|
||||
const { title = "", children }: Props = $props()
|
||||
</script>
|
||||
|
||||
<details class="collapse collapse-arrow bg-base-200">
|
||||
<summary class="collapse-title text-xl font-medium">{title}</summary>
|
||||
<div class="collapse-content">
|
||||
<slot />
|
||||
{@render children()}
|
||||
</div>
|
||||
</details>
|
Reference in New Issue
Block a user