<template>
	<NcAppNavigationItem
		:href="generateUrl('/apps/repod/opml/export')"
		:name="t('repod', 'Export subscriptions')">
		<template #icon>
			<ExportIcon :size="20" />
		</template>
	</NcAppNavigationItem>
</template>

<script lang="ts">
import ExportIcon from 'vue-material-design-icons/Export.vue'
import { NcAppNavigationItem } from '@nextcloud/vue'
import { generateUrl } from '@nextcloud/router'
import { t } from '@nextcloud/l10n'

export default {
	name: 'Export',
	components: {
		ExportIcon,
		NcAppNavigationItem,
	},
	methods: {
		generateUrl,
		t,
	},
}
</script>
