Add download setting to links

This commit is contained in:
Andrew Kingston 2022-08-15 11:37:04 +01:00
parent 9b5be05836
commit 3cb1ae2bd0
1 changed files with 2 additions and 0 deletions

View File

@ -8,12 +8,14 @@
export let secondary = false
export let overBackground = false
export let target
export let download
</script>
<a
on:click
{href}
{target}
{download}
class:spectrum-Link--primary={primary}
class:spectrum-Link--secondary={secondary}
class:spectrum-Link--overBackground={overBackground}