Make Link 'title' prop optional

This commit is contained in:
Dan Kotowski 2024-07-01 15:49:36 -05:00
parent 5162b4637c
commit dddfb15329
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
export let href: string export let href: string
export let target: HTMLAnchorAttributes['target'] export let target: HTMLAnchorAttributes['target']
export let title: HTMLAnchorAttributes['title'] export let title: HTMLAnchorAttributes['title'] = undefined
</script> </script>
<a class="text-cyan-200 hover:text-cyan-400 hover:border-b border-dotted" {href} {target} {title}><slot /></a> <a class="text-cyan-200 hover:text-cyan-400 hover:border-b border-dotted" {href} {target} {title}><slot /></a>