(step) add step input to beautifully handle all the magic inside

This commit is contained in:
Julien Calixte
2023-04-08 12:38:30 +02:00
parent b9738c7d28
commit f94718d5e5
3 changed files with 46 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
<script setup lang="ts">
import type { Step } from '../models/step'
defineProps<{
modelValue: Step[]
}>()
const emit = defineEmits<{
(event: 'update:modelValue', payload: Step[]): void
}>()
</script>
<template>
<div class="step-input">
<div>textarea</div>
<div>beautiful data</div>
</div>
</template>
<style scoped>
.step-input {
display: flex;
justify-content: space-between;
}
</style>