<script lang="ts">
  export let body: Record<string, any>;
  export let res: Record<string, any>;
</script>

<div class="text-white p-6 font-code text-xs !leading-loose">
  {#if res?.[0]?.translation_text}
  {res[0]?.translation_text}
  {/if}
</div>