Created service-type-question component

This commit is contained in:
Leah Schumann 2023-03-07 14:04:28 -05:00
parent 762f0e5aa0
commit eea249d3c2
2 changed files with 14 additions and 3 deletions

View file

@ -1 +1 @@
test.todo("some test to be written in the future");
test.todo("some test to be written in the future");

View file

@ -1,6 +1,6 @@
<template>
<transition name="fade" mode="out-in">
<div class="service-type-question" v-if="isAvailable" aria-live="polite">
<div class="service-type-question" aria-live="polite">
<buttonQuestion
:questionText="questionText"
:answers="answersFromCms"
@ -18,7 +18,7 @@
import buttonQuestion from "@/digital-components/button-question/button-question";
export default {
name: "windshieldDamageTypeQuestion",
name: "service-type-question",
props: {
modelValue: String,
groupName: String,
@ -26,6 +26,10 @@ export default {
suppressError: Boolean,
validationRules: String,
cmsWidgetName: String,
isGlassServiceableMobile: Boolean,
isGlassServiceableInShop: Boolean,
isRecalibrationServiceableInShop: Boolean,
isRecalibrationServiceableMobile: Boolean
},
computed: {
questionText() {
@ -48,3 +52,10 @@ export default {
},
};
</script>
<style lang="scss">
.list-card img {
height: auto;
width: 3.417rem;
}
</style>