INIT commit

This commit is contained in:
Michal Kváček
2023-05-31 20:44:10 +02:00
commit a3e8917db5
73 changed files with 5405 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
<script setup>
const props = defineProps({
modelValue: String,
previousStep: {
type: String,
required: false,
default: null,
},
nextStep: {
type: String,
required: false,
default: null,
},
})
const emit = defineEmits(["update:modelValue"])
const setStep = (val) => {
emit("update:modelValue", val);
}
</script>
<template>
<q-btn-group flat spread class="q-mt-xl">
<q-btn v-if="previousStep" label="Previous step" @click=setStep(props.previousStep) icon="chevron_left"/>
<q-btn v-if="nextStep" label="Next step" @click=setStep(props.nextStep) icon-right="chevron_right"/>
</q-btn-group>
</template>