mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 09:57:21 +00:00
19 lines
353 B
Vue
19 lines
353 B
Vue
<script lang="ts" setup>
|
|
interface Props {
|
|
modelValue?: string | number | null
|
|
}
|
|
|
|
defineProps<Props>()
|
|
|
|
const rowHeight = inject(RowHeightInj, ref(undefined))
|
|
</script>
|
|
|
|
<template>
|
|
<LazyCellClampedText
|
|
class="nc-cell-field clamped-text"
|
|
:value="modelValue"
|
|
:lines="rowHeight"
|
|
:style="{ 'word-break': 'break-word' }"
|
|
/>
|
|
</template>
|