✨ (step) add step input to beautifully handle all the magic inside
This commit is contained in:
25
src/use-cases/task/components/StepInput.vue
Normal file
25
src/use-cases/task/components/StepInput.vue
Normal 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>
|
||||
Reference in New Issue
Block a user