import{j as t,L as l}from"./app-Ba0W75t8.js";import{A as r}from"./app-layout-CQ3rupMj.js";import"./createLucideIcon-B8lpabTL.js";import"./index-KiD9fq9D.js";import"./index-avNvMDmS.js";import"./app-logo-icon-Ew5bYuZS.js";import"./index-CZsJ6L7B.js";function h({phone_number:e,answers:i}){return t.jsxs(r,{children:[t.jsx(l,{title:`Jawaban Kuisioner - ${e}`}),t.jsxs("div",{className:"p-4",children:[t.jsxs("h2",{className:"text-2xl font-semibold text-gray-800",children:["Jawaban Kuisioner - ",e]}),t.jsxs("table",{className:"mt-6 min-w-full table-auto border-collapse overflow-hidden rounded-lg bg-white shadow-md",children:[t.jsx("thead",{className:"bg-blue-600 text-white",children:t.jsxs("tr",{children:[t.jsx("th",{className:"px-6 py-3 text-left text-sm font-semibold",children:"No"}),t.jsx("th",{className:"px-6 py-3 text-left text-sm font-semibold",children:"Pertanyaan"}),t.jsx("th",{className:"px-6 py-3 text-left text-sm font-semibold",children:"Jawaban"})]})}),t.jsx("tbody",{className:"divide-y divide-gray-200",children:i.map((s,a)=>t.jsxs("tr",{className:"transition-colors duration-200 ease-in-out hover:bg-gray-50",children:[t.jsx("td",{className:"px-6 py-4 text-sm font-medium text-gray-700",children:a+1}),t.jsx("td",{className:"px-6 py-4 text-sm text-gray-600",children:s.question.question_text}),t.jsx("td",{className:"px-6 py-4 text-sm text-gray-600",children:s.answer})]},a))})]})]})]})}export{h as default};
