|
|
@ -23,14 +23,14 @@ const FormFields = ({ |
|
|
|
<div |
|
|
|
<div |
|
|
|
onClick={onClick} |
|
|
|
onClick={onClick} |
|
|
|
className={ |
|
|
|
className={ |
|
|
|
"h-full flex flex-row items-center rounded border mx-1 relative " + |
|
|
|
"h-full flex flex-row items-center rounded border mx-1 relative" + |
|
|
|
borderClassname + |
|
|
|
borderClassname + |
|
|
|
(value ? "bg-white border rounded" : "bg-transparent") |
|
|
|
(value ? "bg-white border rounded" : "bg-transparent") |
|
|
|
} |
|
|
|
} |
|
|
|
> |
|
|
|
> |
|
|
|
<div |
|
|
|
<div |
|
|
|
className={ |
|
|
|
className={ |
|
|
|
"text-xs absolute transition-all duration-300 pointer-events-none px-3 transform -translate-x-[7px]" + |
|
|
|
"text-xs absolute transition-all duration-300 pointer-events-none px-3 transform translate-x-[7px]" + |
|
|
|
(value |
|
|
|
(value |
|
|
|
? `text-[#2483E1] bg-white top-[-10px]` |
|
|
|
? `text-[#2483E1] bg-white top-[-10px]` |
|
|
|
: "text-[#0F0543] top-[10px]") |
|
|
|
: "text-[#0F0543] top-[10px]") |
|
|
|