File tree Expand file tree Collapse file tree 1 file changed +7
-20
lines changed
Expand file tree Collapse file tree 1 file changed +7
-20
lines changed Original file line number Diff line number Diff line change 3030 </div>
3131</template>
3232
33- <script lang="ts">
34- import type { PropType } from 'vue';
35- import { defineComponent } from 'vue';
36-
33+ <script setup lang="ts">
3734interface FooterLabels {
3835 tool: string;
3936 license: string;
@@ -45,22 +42,12 @@ interface FooterUrls {
4542 issues: string;
4643}
4744
48- export default defineComponent({
49- name: 'WikidataToolFooter',
50- props: {
51- contentClass: {
52- type: String,
53- default: '',
54- },
55- labels: {
56- type: Object as PropType<FooterLabels>,
57- required: true,
58- },
59- urls: {
60- type: Object as PropType<FooterUrls>,
61- required: true,
62- },
63- }
45+ withDefaults(defineProps<{
46+ contentClass: string,
47+ labels: { type: FooterLabels, required: true },
48+ urls: { type: FooterUrls, required: true }
49+ }>(), {
50+ contentClass: ''
6451});
6552</script>
6653
You can’t perform that action at this time.
0 commit comments