change style of button in table

This commit is contained in:
Ehsan
2024-10-03 16:54:02 +03:30
parent 3b9cff561d
commit 36a439a617
@@ -87,15 +87,15 @@ function List({ user, loading }) {
<CustomLoading width={80} height={22} loading={loading}>
<div
className={`
w-[124px] py-[4px] px-[4px] rounded-[4px] text-center text-[16px] font-medium cursor-pointer select-none
${
row.status === "success"
? "bg-[#E8FADD] text-[#75E22E]"
: row.status === "pending"
? "bg-[#FFF3DD] text-[#FDBA35]"
: "bg-[#FFE3E2] text-[#FF5450]"
}
`}
w-[124px] py-[4px] px-[4px] rounded-[4px] text-center text-[16px] font-medium select-none
${
row.status === "success"
? "bg-[#E8FADD] text-[#75E22E]"
: row.status === "pending"
? "bg-[#FFF3DD] text-[#FDBA35]"
: "bg-[#FFE3E2] text-[#FF5450]"
}
`}
variant="text"
>
{row.status === "success"