Made my info showen, because im cool
This commit is contained in:
parent
1c260e5b8f
commit
1f77e03da2
2 changed files with 7 additions and 2 deletions
|
@ -1,9 +1,14 @@
|
|||
<script>
|
||||
export let Title = "";
|
||||
export let Checked = false;
|
||||
</script>
|
||||
|
||||
<div class="collapse collapse-arrow bg-base-100 text-start shadow-sm" {...$$restProps}>
|
||||
<input type="radio" name="my-accordion-2" checked/>
|
||||
{#if Checked}
|
||||
<input type="radio" name="{Title}" checked/>
|
||||
{:else}
|
||||
<input type="radio" name="{Title}"/>
|
||||
{/if}
|
||||
<div class="collapse-title text-xl font-medium "><b>{Title}</b></div>
|
||||
<div class="collapse-content" style="border-top: dotted 0.15rem oklch(var(--b3));">
|
||||
<slot/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue