aboutsummaryrefslogtreecommitdiffstats
path: root/code/app/src/routes/book/toggles
diff options
context:
space:
mode:
Diffstat (limited to 'code/app/src/routes/book/toggles')
-rw-r--r--code/app/src/routes/book/toggles/+page.svelte12
1 files changed, 6 insertions, 6 deletions
diff --git a/code/app/src/routes/book/toggles/+page.svelte b/code/app/src/routes/book/toggles/+page.svelte
index 730e6f2..71c9298 100644
--- a/code/app/src/routes/book/toggles/+page.svelte
+++ b/code/app/src/routes/book/toggles/+page.svelte
@@ -1,27 +1,27 @@
<script>
- import Switch from "$lib/components/switch.svelte";
+ import Switch from "$components/switch.svelte";
</script>
<section>
<h2>Default</h2>
- <Switch />
+ <Switch/>
</section>
<section>
<h2>Short</h2>
- <Switch type="short" />
+ <Switch type="short"/>
</section>
<section>
<h2>Icon</h2>
- <Switch type="icon" />
+ <Switch type="icon"/>
</section>
<section>
<h2>Label / Description</h2>
<div class="max-w-md">
- <Switch label="Label" description="Some text" />
+ <Switch label="Label" description="Some text"/>
</div>
</section>
<section>
<h2>Label / Description (right aligned)</h2>
- <Switch label="Label" description="Some text" rightAlignedLabelDescription />
+ <Switch label="Label" description="Some text" rightAlignedLabelDescription/>
</section>