prop defaults

This commit is contained in:
Jörn-Michael Miehe 2022-09-13 01:53:00 +00:00
parent 7f8b7784c7
commit 743ee3f13f

View file

@ -38,19 +38,13 @@ import THWLogo from "./THWLogo.vue";
}, },
}) })
export default class TitleBar extends Vue { export default class TitleBar extends Vue {
@Prop({ @Prop({ default: "Technisches Hilfswerk" })
default: "Technisches Hilfswerk",
})
private readonly logo_above!: string; private readonly logo_above!: string;
@Prop({ @Prop({ default: "OV Musterstadt" })
default: "OV Musterstadt",
})
private readonly logo_below!: string; private readonly logo_below!: string;
@Prop({ @Prop({ default: "TITLE" })
default: "TITLE",
})
private readonly title!: string; private readonly title!: string;
} }
</script> </script>