diff options
Diffstat (limited to 'code/app/src/routes/book')
| -rw-r--r-- | code/app/src/routes/book/inputs/+page.svelte | 2 | ||||
| -rw-r--r-- | code/app/src/routes/book/toggles/+page.svelte | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/code/app/src/routes/book/inputs/+page.svelte b/code/app/src/routes/book/inputs/+page.svelte index d5566ed..433607b 100644 --- a/code/app/src/routes/book/inputs/+page.svelte +++ b/code/app/src/routes/book/inputs/+page.svelte @@ -71,5 +71,5 @@ </section> <section> <h2>Textarea</h2> - <TextArea bind:value errorText="oh no" label="Hi"/> + <TextArea bind:value label="Hi"/> </section> diff --git a/code/app/src/routes/book/toggles/+page.svelte b/code/app/src/routes/book/toggles/+page.svelte index 71c9298..cb0adec 100644 --- a/code/app/src/routes/book/toggles/+page.svelte +++ b/code/app/src/routes/book/toggles/+page.svelte @@ -4,24 +4,24 @@ <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> |
