1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-20 08:02:35 +02:00

Add copy button

This commit is contained in:
Kamran Ahmed
2024-04-20 14:07:10 +01:00
parent 4db5cc920b
commit d2efad25a8

View File

@@ -218,7 +218,7 @@ export function UpdatePublicProfileForm() {
> >
{!isCopied && <Copy className="h-3 w-3 stroke-[2.5]" />} {!isCopied && <Copy className="h-3 w-3 stroke-[2.5]" />}
{isCopied && <Check className="h-3 w-3 stroke-[2.5]" />} {isCopied && <Check className="h-3 w-3 stroke-[2.5]" />}
{!isCopied ? 'Copy' : 'Copied!'} {!isCopied ? 'Copy URL' : 'Copied!'}
</button> </button>
</> </>
)} )}