diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-09-28 15:30:30 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-09-28 15:31:28 +0200 |
| commit | 803c2ff0581e761c5175e1a04b006e1f6a997c6e (patch) | |
| tree | 7e973fbdff622f68fd64db876a068bd76a87b4cb /apps/kit/src/routes/book/buttons | |
| parent | 942da03f7c15241c67edb350b446b7e45cee931e (diff) | |
| download | greatoffice-803c2ff0581e761c5175e1a04b006e1f6a997c6e.tar.xz greatoffice-803c2ff0581e761c5175e1a04b006e1f6a997c6e.zip | |
feat: Support loading buttons
Diffstat (limited to 'apps/kit/src/routes/book/buttons')
| -rw-r--r-- | apps/kit/src/routes/book/buttons/+page.svelte | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/kit/src/routes/book/buttons/+page.svelte b/apps/kit/src/routes/book/buttons/+page.svelte index c8e8c93..0a54930 100644 --- a/apps/kit/src/routes/book/buttons/+page.svelte +++ b/apps/kit/src/routes/book/buttons/+page.svelte @@ -6,12 +6,10 @@ <section> <h2>Primary</h2> <div class=""> - <Button kind="primary" text="Normal" /> + <Button kind="primary" text="Medium/Default" /> <Button kind="primary" text="Large" size="lg" /> - <Button kind="primary" text="Medium" size="md" /> <Button kind="primary" text="Small" size="sm" /> <Button kind="primary" text="Extra large" size="xl" /> - <Button kind="primary" text="Extra small" size="xs" /> </div> </section> <section> @@ -22,3 +20,7 @@ <h2>White</h2> <Button kind="white" text="Click me!" /> </section> +<section> + <h2>Loading</h2> + <Button kind="primary" loading={true} text="Wait" size="sm" /> +</section> |
