style: auto Format files with Prettier

This commit is contained in:
2023-09-04 11:41:11 +02:00
parent 0377f5a73e
commit 8266430503
13 changed files with 187 additions and 142 deletions

View File

@@ -8,7 +8,14 @@ export interface Props {
newTarget?: boolean;
}
const { href, className, ariaLabel, title, disabled = false, newTarget = true } = Astro.props;
const {
href,
className,
ariaLabel,
title,
disabled = false,
newTarget = true,
} = Astro.props;
---
<a
@@ -18,7 +25,7 @@ const { href, className, ariaLabel, title, disabled = false, newTarget = true }
aria-label={ariaLabel}
title={title}
aria-disabled={disabled}
target={ newTarget ? "_blank" : "_self"}
target={newTarget ? "_blank" : "_self"}
>
<slot />
</a>