17 lines
466 B
JavaScript
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;
|