change style of button in table
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user