|
|
|
@ -11,52 +11,31 @@ const EditRow = ({ row }) => { |
|
|
|
|
${openModal ? "opacity-90" : "opacity-0 pointer-events-none"}`}
|
|
|
|
|
> |
|
|
|
|
<div |
|
|
|
|
className="absolute w-fit bg-white p-4 rounded flex flex-row items-center space-x-10" |
|
|
|
|
style={{ top: "10%" }} |
|
|
|
|
className="top-[10%] absolute w-fit bg-white p-4 rounded flex flex-row items-center space-x-10" |
|
|
|
|
onClick={(e) => e.stopPropagation()} |
|
|
|
|
> |
|
|
|
|
<img src={row.original.filePic} alt="" className="w-20" /> |
|
|
|
|
<span |
|
|
|
|
role="textbox" |
|
|
|
|
style={{ |
|
|
|
|
backgroundColor: "#F8FBFF", |
|
|
|
|
borderColor: "#C8DEF9", |
|
|
|
|
color: "#00253A", |
|
|
|
|
}} |
|
|
|
|
className="text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" |
|
|
|
|
className="bg-[#F8FBFF] text-[#00253A] border-[#C8DEF9] text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" |
|
|
|
|
> |
|
|
|
|
{row.original.fileName} |
|
|
|
|
</span> |
|
|
|
|
<span |
|
|
|
|
role="textbox" |
|
|
|
|
style={{ |
|
|
|
|
backgroundColor: "#F8FBFF", |
|
|
|
|
borderColor: "#C8DEF9", |
|
|
|
|
color: "#00253A", |
|
|
|
|
}} |
|
|
|
|
className="text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" |
|
|
|
|
className="bg-[#F8FBFF] text-[#00253A] border-[#C8DEF9] text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" |
|
|
|
|
> |
|
|
|
|
{row.original.fileType} |
|
|
|
|
</span> |
|
|
|
|
<span |
|
|
|
|
role="textbox" |
|
|
|
|
style={{ |
|
|
|
|
backgroundColor: "#F8FBFF", |
|
|
|
|
borderColor: "#C8DEF9", |
|
|
|
|
color: "#00253A", |
|
|
|
|
}} |
|
|
|
|
className="text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" |
|
|
|
|
className="bg-[#F8FBFF] text-[#00253A] border-[#C8DEF9] text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" |
|
|
|
|
> |
|
|
|
|
{row.original.fileSize} |
|
|
|
|
</span> |
|
|
|
|
<span |
|
|
|
|
role="textbox" |
|
|
|
|
style={{ |
|
|
|
|
backgroundColor: "#F8FBFF", |
|
|
|
|
borderColor: "#C8DEF9", |
|
|
|
|
color: "#00253A", |
|
|
|
|
}} |
|
|
|
|
className="text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" |
|
|
|
|
className="bg-[#F8FBFF] text-[#00253A] border-[#C8DEF9] text-xs rounded-sm border p-2 focus:outline-none focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20" |
|
|
|
|
> |
|
|
|
|
{row.original.fileDate} |
|
|
|
|
</span> |
|
|
|
|