diff --git a/components/panel/addDoctor/Step.js b/components/panel/addDoctor/Step.js index ec7a92f..65512c1 100644 --- a/components/panel/addDoctor/Step.js +++ b/components/panel/addDoctor/Step.js @@ -4,26 +4,26 @@ import UserEdit from "@/components/icons/UserEdit"; function Step({ value }) { const list = [ - { icon: , name: "اطلاعات عمومی" }, - { icon: , name: "اطلاعات مطب" }, - { icon: , name: "روزهای کاری" }, + { icon: = 0} />, name: "اطلاعات عمومی" }, + { icon: = 1} />, name: "اطلاعات مطب" }, + { icon: = 2} />, name: "روزهای کاری" }, ]; return (
    {list.map((item, idx) => ( -
  • +
  • = idx ? "bg-[#5559CE]" : "bg-[#F6F6F6]"}`} > {item.icon}

    = idx ? "font-bold text-[#5559CE]" : "font-normal text-[#616161]" }`} @@ -31,6 +31,13 @@ function Step({ value }) { {item.name}

    + {list.length > idx + 1 && ( + = idx ? "bg-[#5559CE]" : "bg-[#EFEFEF]" + }`} + > + )}
  • ))}