added copy button for localtion url

This commit is contained in:
pramod.mahajan 2025-11-20 14:49:54 +05:30
parent fa923d4c3a
commit 9f5a167613

View File

@ -61,10 +61,10 @@ const BranchDetails = ({ branch }) => {
</a>
<button
className="btn btn-sm btn-light border ms-2"
className="btn btn-xs btn-secondry border ms-2"
onClick={handleCopy}
>
{copied ? "Copied!" : "Copy"}
<i className={`bx bx-xs me-1 ${copied ? "bxs-copy-alt":"bx-copy-alt"} `} ></i> {copied ? "Copied!" : "Copy"}
</button>
</div>
)}
@ -77,7 +77,7 @@ const DetailRow = ({ label, value }) => (
<div className="text-secondary" style={{ width: "90px", flexShrink: 0 }}>
{label}:
</div>
<div className="fw-medium" style={{ wordBreak: "break-word" }}>
<div className="" style={{ wordBreak: "break-word" }}>
{value || "N/A"}
</div>
</div>