mirror of https://github.com/nocodb/nocodb
Wing-Kam Wong
2 years ago
8 changed files with 69 additions and 8 deletions
@ -0,0 +1,23 @@
|
||||
<script setup lang="ts"> |
||||
import Text from './Text.vue' |
||||
|
||||
interface Props { |
||||
modelValue: any |
||||
} |
||||
|
||||
interface Emits { |
||||
(event: 'update:modelValue', model: string): void |
||||
} |
||||
|
||||
const props = defineProps<Props>() |
||||
|
||||
const emits = defineEmits<Emits>() |
||||
|
||||
const vModel = useVModel(props, 'modelValue', emits) |
||||
</script> |
||||
|
||||
<template> |
||||
<Text v-model="vModel" /> |
||||
</template> |
||||
|
||||
<style scoped></style> |
Loading…
Reference in new issue