diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-12-09 03:57:12 +0100 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-12-09 03:57:12 +0100 |
| commit | 4dbef3fcd7a14437d55c555cf10d50de8e50d7d1 (patch) | |
| tree | 632589ecfcfb4dfddeafb71d0077257584b5e7ec /code/app/src/routes/book/toggles | |
| parent | 914c75e0ceeb3e11ddd55e94bb461c26b0db5b7a (diff) | |
| download | greatoffice-4dbef3fcd7a14437d55c555cf10d50de8e50d7d1.tar.xz greatoffice-4dbef3fcd7a14437d55c555cf10d50de8e50d7d1.zip | |
feat: Move everything out of $lib
Diffstat (limited to 'code/app/src/routes/book/toggles')
| -rw-r--r-- | code/app/src/routes/book/toggles/+page.svelte | 12 |
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> |
