Skip to content

BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr

435 B
Raw Blame
<template>
	<n-button text @click="handleGoHelp">
		<span class="mr-4px">{{ text || $t('common.actions.help') }}</span>
		<i class="i-custom:help text-primary"></i>
	</n-button>
</template>

<script lang="ts" setup>
const { href } = defineProps({
	href: {
		type: String,
		default: '',
	},
	text: {
		type: String,
		default: '',
	},
})

const handleGoHelp = () => {
	window.open(href)
}
</script>

<style lang="scss" scoped></style>