mirror of
https://github.com/alexohneander/alexohneander-astro.git
synced 2025-12-18 08:10:13 +00:00
style: auto Format files with Prettier
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user