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

<script>
import ExportIcon from 'vue-material-design-icons/Export.vue'
import { NcAppNavigationItem } from '@nextcloud/vue'
import { generateUrl } from '@nextcloud/router'

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