Files
nobat724_front/components/clinic/components/contact/Detail.js
T
2025-10-18 11:36:30 +03:30

17 lines
466 B
JavaScript

import ContentDetail from "./ContentDetail";
function Detail({ data }) {
return (
<ul className="flex flex-col items-start justify-start gap-[16px]">
<ContentDetail
head="روزهای کاری: "
detail={`ساعت کاری: ${data.hours_of_work}`}
/>
<ContentDetail head="تلفن: " detail={`${data.phone_number}`} />
<ContentDetail head="آدرس: " detail={data.location} />
</ul>
);
}
export default Detail;