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 {
@Prop({
default: "Technisches Hilfswerk",
})
@Prop({ default: "Technisches Hilfswerk" })
private readonly logo_above!: string;
@Prop({
default: "OV Musterstadt",
})
@Prop({ default: "OV Musterstadt" })
private readonly logo_below!: string;
@Prop({
default: "TITLE",
})
@Prop({ default: "TITLE" })
private readonly title!: string;
}
</script>