2024-04-26 21:57:14 +02:00
|
|
|
<template>
|
2024-04-26 21:57:14 +02:00
|
|
|
<div class="download-button-container" v-bind:class="rootClassName"
|
|
|
|
><button type="button" class="button"
|
|
|
|
><span class="button-text">{{ text }}</span></button
|
|
|
|
></div
|
|
|
|
>
|
2024-04-26 21:57:14 +02:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
name: 'DownloadButton',
|
|
|
|
props: {
|
|
|
|
rootClassName: String,
|
|
|
|
text: {
|
|
|
|
type: String,
|
|
|
|
default: 'Schloss',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
.download-button-container {
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
</style>
|