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}> <CustomLoading width={80} height={22} loading={loading}>
<div <div
className={` className={`
w-[124px] py-[4px] px-[4px] rounded-[4px] text-center text-[16px] font-medium cursor-pointer select-none w-[124px] py-[4px] px-[4px] rounded-[4px] text-center text-[16px] font-medium select-none
${ ${
row.status === "success" row.status === "success"
? "bg-[#E8FADD] text-[#75E22E]" ? "bg-[#E8FADD] text-[#75E22E]"
: row.status === "pending" : row.status === "pending"
? "bg-[#FFF3DD] text-[#FDBA35]" ? "bg-[#FFF3DD] text-[#FDBA35]"
: "bg-[#FFE3E2] text-[#FF5450]" : "bg-[#FFE3E2] text-[#FF5450]"
} }
`} `}
variant="text" variant="text"
> >
{row.status === "success" {row.status === "success"