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.
22 lines
580 B
22 lines
580 B
<script lang="ts" setup> |
|
import type { TableType } from 'nocodb-sdk' |
|
import { iconMap } from '#imports' |
|
|
|
const { meta: tableMeta } = defineProps<{ |
|
meta: TableType |
|
}>() |
|
</script> |
|
|
|
<template> |
|
<LazyGeneralEmojiPicker |
|
v-if="tableMeta?.meta?.icon" |
|
:data-testid="`nc-emoji-${tableMeta.meta?.icon}`" |
|
class="text-lg" |
|
size="small" |
|
:emoji="tableMeta.meta?.icon" |
|
readonly |
|
/> |
|
|
|
<component :is="iconMap.eye" v-else-if="tableMeta?.type === 'view'" class="w-4 mx-0.75" /> |
|
<component :is="iconMap.table" v-else class="w-4 mx-0.5 !text-gray-600/75" /> |
|
</template>
|
|
|