diff --git a/src/App.svelte b/src/App.svelte index 8e221cad..56dde62c 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -51,8 +51,8 @@
- - Should go to + + Should not go to host /bar diff --git a/src/components/button/AWrapper.svelte b/src/components/button/AWrapper.svelte new file mode 100644 index 00000000..41ff8633 --- /dev/null +++ b/src/components/button/AWrapper.svelte @@ -0,0 +1,12 @@ + + +{#if href && !disabled} + + + +{:else} + +{/if} diff --git a/src/components/button/Component.svelte b/src/components/button/Component.svelte index 1b68ee78..65002840 100644 --- a/src/components/button/Component.svelte +++ b/src/components/button/Component.svelte @@ -1,6 +1,7 @@