<script lang='ts' setup>
import type { RwaData } from "@/api/types";

const props = defineProps<{
  data: RwaData | null;
}>();

const { t } = useI18n();
</script>

<template>
  <div class="mt-2">
    <div>
      <div class="font-semibold mb-4">
        {{ t('market.tradeRwa.tabs.about') }}
      </div>

      <ui-file-preview :file-ids="props.data?.product.proofDocumentIds || []" />
    </div>
  </div>
</template>

<style lang='css' scoped></style>
