Newer
Older

Дмитрий Малюгин
committed
<script setup lang="ts">
import type { IEntity } from '@/interfaces/environment';
import TextItem from '@/components/entities/TextItem.vue';
interface Props {
entity: IEntity;
}
defineProps<Props>();
</script>
<template>
<div>
<TextItem v-if="entity.type === 'text'" :entityData="entity" />

Дмитрий Малюгин
committed
</div>
</template>
<style scoped></style>