Files
release11-tools/Frontend/src/components/mock/BodyDetailComponent.vue
Adam Bem ea83e95a00 Created convention file for frontend and adjusted current project files (#277)
Reviewed-on: #277
Reviewed-by: Mikolaj Widla <widlam@noreply.example.com>
Co-authored-by: Adam Bem <adam.bem@zoho.eu>
Co-committed-by: Adam Bem <adam.bem@zoho.eu>
2024-01-04 08:17:44 +01:00

18 lines
408 B
Vue

<script setup lang="ts">
import CodeEditorComponent from '@/components/common/CodeEditorComponent.vue';
const props = defineProps(
{
data: {required: true, type: String},
contentType: {required:true,type:String},
}
)
</script>
<template>
<CodeEditorComponent :code="props.data" :config='{disabled:false, language:props.contentType.replace("application/","")}' />
</template>