Extract Input component and add some dark color tags

This commit is contained in:
2022-03-02 19:48:24 +00:00
committed by Gitea
parent f0ec7fb30d
commit 1e79f193be
5 changed files with 30 additions and 14 deletions

View File

@@ -0,0 +1,10 @@
<script lang="ts" setup>
const props = defineProps(["modelValue"]);
</script>
<template>
<input
v-model="modelValue"
@input="$emit('update:modelValue', ($event.target as HTMLInputElement)?.value)"
class="dark:bg-slate-900">
</template>