summaryrefslogtreecommitdiff
path: root/packages/frontend-embed/src/components/EmA.vue
blob: 1c236b9a3592e32e189366dec590aa72ab9ecb4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!--
SPDX-FileCopyrightText: syuilo and misskey-project
SPDX-License-Identifier: AGPL-3.0-only
-->

<template>
<a :href="to" target="_blank" rel="noopener">
	<slot></slot>
</a>
</template>

<script lang="ts" setup>
import { } from 'vue';

const props = withDefaults(defineProps<{
	to: string;
	activeClass?: null | string;
}>(), {
	activeClass: null,
});
</script>