Added vehicle protected question component

This commit is contained in:
Leah Schumann 2023-01-31 08:53:31 -05:00
parent 9f363c5ed9
commit d62e666618

View file

@ -16,11 +16,6 @@ import { storeActions } from "@/constants/store-actions.js";
import baseMixin from "@/mixins/base-mixin.js";
export default {
name: "vehicle-protected-question",
data() {
return {
answers: ["Yes", "No"],
};
},
props: {
modelValue: String,
cmsWidgetName: String,
@ -40,6 +35,9 @@ export default {
this.$emit("update:modelValue", newValue);
},
},
answers() {
return this.getCmsContent(this.cmsWidgetName, "Answers");
},
},
methods: {
loadInitialData() {
@ -51,3 +49,16 @@ export default {
},
};
</script>
<style lang="scss">
.question-text {
margin-top: 1.5rem;
margin-bottom: 1rem;
font-size: 1rem;
line-height: 1.625rem;
& > span {
text-align: left;
}
}
</style>