diff --git a/components/shared/CopyContainer.tsx b/components/shared/CopyContainer.tsx index 0c8524524..eb61fa3eb 100644 --- a/components/shared/CopyContainer.tsx +++ b/components/shared/CopyContainer.tsx @@ -9,6 +9,7 @@ interface CopyContainerProps { copySuccessMessage?: string; copyErrorMessage?: string; options?: Partial; + onCopyClick?: () => void; children: React.ReactNode; } @@ -16,6 +17,7 @@ export const CopyContainer = ({ copySuccessMessage = "Copied image to clipboard", copyErrorMessage = "Error copying image", options, + onCopyClick, children, }: CopyContainerProps) => { const { toast } = useToast(); @@ -27,6 +29,7 @@ export const CopyContainer = ({