|
|
|
@ -44,16 +44,16 @@ const CustomSwitch = ({ |
|
|
|
|
<div className=" w-[98%] h-[90%] flex flex-row-reverse right-[1%] top-[5%] z-10 absolute text-xs "> |
|
|
|
|
<div |
|
|
|
|
className={ |
|
|
|
|
" w-1/2 h-full flex items-center justify-center cursor-pointer text-xs" + |
|
|
|
|
(value ? "text-[#2483E1]" : "") |
|
|
|
|
" w-1/2 h-full flex items-center justify-center cursor-pointer text-xs text-white " + |
|
|
|
|
(value ? " text-[#0F0543] " : "") |
|
|
|
|
} |
|
|
|
|
> |
|
|
|
|
{values[1]} |
|
|
|
|
</div> |
|
|
|
|
<div |
|
|
|
|
className={ |
|
|
|
|
" w-1/2 h-full flex items-center justify-center cursor-pointer text-xs" + |
|
|
|
|
(!value ? "text-[#2483E1]" : "") |
|
|
|
|
" w-1/2 h-full flex items-center justify-center cursor-pointer text-xs text-white " + |
|
|
|
|
(!value ? " text-[#0F0543] " : "") |
|
|
|
|
} |
|
|
|
|
> |
|
|
|
|
{values[0]} |
|
|
|
|