mirror of
https://github.com/djkotowski/personal-website.git
synced 2026-11-10 05:14:09 -06:00
Make Link 'title' prop optional
This commit is contained in:
1 file changed
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
export let href: string
|
||||
export let target: HTMLAnchorAttributes['target']
|
||||
export let title: HTMLAnchorAttributes['title']
|
||||
export let title: HTMLAnchorAttributes['title'] = undefined
|
||||
</script>
|
||||
|
||||
<a class="text-cyan-200 hover:text-cyan-400 hover:border-b border-dotted" {href} {target} {title}><slot /></a>
|
||||
|
||||
Reference in new issue
Block a user