feat: finish my pages overview page according to wireframe
This commit is contained in:
20
components/MyPages/Blocks/Overview/CopyButton.tsx
Normal file
20
components/MyPages/Blocks/Overview/CopyButton.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
"use client"
|
||||
|
||||
import Button from "@/components/TempDesignSystem/Button"
|
||||
import Image from "@/components/Image"
|
||||
|
||||
import type { User } from "@/types/user"
|
||||
|
||||
export default function CopyButton({
|
||||
membershipId,
|
||||
}: Pick<User, "membershipId">) {
|
||||
function handleCopy() {
|
||||
console.log(`COPIED! (${membershipId})`)
|
||||
}
|
||||
|
||||
return (
|
||||
<Button onClick={handleCopy} type="button" variant="icon">
|
||||
<Image alt="Copy Icon" height={20} src="/copy.svg" width={20} />
|
||||
</Button>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user