<template>
    <section class="flex flex-col gap-6 w-[700px]">
   
        <ul class="flex flex-col gap-5 space-y-6">

            <li class="flex items-center justify-between">
                <strong>{{ $t('id') }}</strong>
                <div class="flex items-center gap-2 w-max">
                    <span>{{ faq.product.id }}</span>
                </div>
            </li>
            <li class="flex items-center justify-between">
                <strong>{{ $t('سوال') }}</strong>
                <span>{{ faq.product.title }}</span>
            </li>
            <li class="flex items-center justify-between gap-32">
                <strong>{{ $t('پاسخ') }}</strong>
                <span>{{ faq.product.description }}</span>
            </li>
         
        </ul>
    </section>

</template>

<script setup>
import { inject, reactive } from 'vue';
import { ref } from 'vue';
const dialog = inject('dialogRef')
const faq = reactive(Object.assign({}, dialog.value.data))
</script>

<style lang="scss" scoped></style>