mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
379 B
24 lines
379 B
2 years ago
|
<script setup lang="ts">
|
||
|
import Text from './Text.vue'
|
||
|
|
||
|
interface Props {
|
||
|
modelValue: any
|
||
|
}
|
||
|
|
||
2 years ago
|
interface Emits {
|
||
2 years ago
|
(event: 'update:modelValue', model: string): void
|
||
2 years ago
|
}
|
||
|
|
||
|
const props = defineProps<Props>()
|
||
|
|
||
|
const emits = defineEmits<Emits>()
|
||
2 years ago
|
|
||
2 years ago
|
const vModel = useVModel(props, 'modelValue', emits)
|
||
2 years ago
|
</script>
|
||
|
|
||
|
<template>
|
||
2 years ago
|
<Text v-model="vModel" />
|
||
2 years ago
|
</template>
|
||
|
|
||
2 years ago
|
<style scoped></style>
|