og-image/src/ui/DownloadButton.vue

21 lines
573 B
Vue
Raw Normal View History

2023-02-24 21:40:50 +01:00
<template>
<button
type="button"
2023-02-24 21:46:46 +01:00
class="px-4 py-2 text-sm font-medium text-gray-900 bg-white border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-700 dark:border-gray-600 dark:text-white dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-blue-500 dark:focus:text-white"
2023-02-26 17:44:43 +01:00
:class="$attrs.class"
2023-02-24 21:40:50 +01:00
v-text="label"
2023-02-24 21:46:46 +01:00
/>
2023-02-24 21:40:50 +01:00
</template>
<script>
export default {
props: {
label: {
type: String,
2023-02-26 17:44:43 +01:00
default: null,
2023-02-24 21:40:50 +01:00
required: true
},
}
}
</script>