diff --git a/src/lib/components/common/Button.svelte b/src/lib/components/common/Button.svelte new file mode 100644 index 000000000..ea9b7df56 --- /dev/null +++ b/src/lib/components/common/Button.svelte @@ -0,0 +1,64 @@ + + +{#if href} + + {label} + +{:else} + +{/if} + + diff --git a/src/lib/components/common/stories/Button.stories.svelte b/src/lib/components/common/stories/Button.stories.svelte new file mode 100644 index 000000000..4c3a754fc --- /dev/null +++ b/src/lib/components/common/stories/Button.stories.svelte @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/lib/components/stories/KV.stories.svelte b/src/lib/components/common/stories/KV.stories.svelte similarity index 93% rename from src/lib/components/stories/KV.stories.svelte rename to src/lib/components/common/stories/KV.stories.svelte index 94c6bf5fe..ef9a2f6a1 100644 --- a/src/lib/components/stories/KV.stories.svelte +++ b/src/lib/components/common/stories/KV.stories.svelte @@ -1,6 +1,6 @@