Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 7 additions & 20 deletions resources/js/Components/WikidataToolFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@
</div>
</template>

<script lang="ts">
import type { PropType } from 'vue';
import { defineComponent } from 'vue';

<script setup lang="ts">
interface FooterLabels {
tool: string;
license: string;
Expand All @@ -45,22 +42,12 @@ interface FooterUrls {
issues: string;
}

export default defineComponent({
name: 'WikidataToolFooter',
props: {
contentClass: {
type: String,
default: '',
},
labels: {
type: Object as PropType<FooterLabels>,
required: true,
},
urls: {
type: Object as PropType<FooterUrls>,
required: true,
},
}
withDefaults(defineProps<{
contentClass: string,
labels: { type: FooterLabels, required: true },
urls: { type: FooterUrls, required: true }
}>(), {
contentClass: ''
});
</script>

Expand Down