prop defaults
This commit is contained in:
parent
7f8b7784c7
commit
743ee3f13f
1 changed files with 3 additions and 9 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue