import CircularLoading from "@/app/component/loading/Circular"; import TextLoading from "@/app/component/loading/Text"; import ArrowLeftD from "@/components/icons/ArrowLeftD"; import GreenCalendarTurn from "@/components/icons/GreenCalendarTurn"; import { Button } from "@mui/material"; import Image from "next/image"; import Link from "next/link"; import React from "react"; function ItemAppointment({ turn, loading }) { return (
نوبت دهی
{turn?.name}
تخصص: {turn?.expertise?.map( (item, idx) => `${item.name} ${turn.expertise.length === idx + 1 ? "" : "|"} ` )}
اولین نوبت آزاد: {turn.first_free_turn}