formatting
This commit is contained in:
@@ -1,15 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { twMerge } from 'tailwind-merge';
|
||||
export let href: string;
|
||||
</script>
|
||||
|
||||
<a
|
||||
{...$$restProps}
|
||||
{href}
|
||||
class={twMerge(
|
||||
'font-medium transition-colors hover:text-accent hover:underline',
|
||||
$$restProps['class']
|
||||
)}
|
||||
>
|
||||
<slot />
|
||||
</a>
|
||||
<script lang="ts">
|
||||
import { twMerge } from "tailwind-merge";
|
||||
export let href: string;
|
||||
</script>
|
||||
|
||||
<a {...$$restProps} {href} class={twMerge("font-medium transition-colors hover:text-accent hover:underline", $$restProps["class"])}>
|
||||
<slot />
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user