Skip to content

Commit 101b92c

Browse files
committed
fix(switch): custom Icon
1 parent 90eb5ac commit 101b92c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/switch/src/routes/+page.svelte

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,9 @@
7474
<View slot="activeActionIcon" />
7575
<Hide slot="inactiveActionIcon" />
7676
</SvelSwitch>
77+
78+
<div />
79+
<SvelSwitch bind:value>
80+
<span slot="activeActionIcon">T</span>
81+
<span slot="inactiveActionIcon">F</span>
82+
</SvelSwitch>

0 commit comments

Comments
 (0)