fix: update button ui component to have variant and size independent

This commit is contained in:
2026-02-23 14:27:35 +05:00
parent eaddc366ef
commit 655e358158
9 changed files with 44 additions and 43 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
<div class="settings-grid">
<label>
{label}
<Button {icon} ariaLabel="Expand" type="mini" onclick={() => (expanded = !expanded)} />
<Button {icon} ariaLabel="Expand" size="mini" onclick={() => (expanded = !expanded)} />
</label>
{#if expanded}
{@render children()}