refac
This commit is contained in:
1 parent
db934a3b4f
commit
ba067258de
39 files changed
+1540
-1442
No files matched your search
@@ -0,0 +1,22 @@
|
||||
<script lang="ts">
|
||||
export let label = '';
|
||||
export let description = '';
|
||||
export let className = '';
|
||||
export let labelClassName = '';
|
||||
</script>
|
||||
|
||||
<div class="flex items-center justify-between gap-2.5 {className}">
|
||||
<div class="min-w-0 text-xs text-gray-600 dark:text-gray-400 {labelClassName}">
|
||||
<slot name="label">{label}</slot>
|
||||
</div>
|
||||
|
||||
<div class="shrink-0">
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{#if description}
|
||||
<p class="-mt-1 text-[0.6875rem] text-gray-400 dark:text-gray-600">
|
||||
{description}
|
||||
</p>
|
||||
{/if}
|
||||
Reference in new issue
Block a user