Fix copy button className

This commit is contained in:
Robert Long 2021-12-17 15:08:24 -08:00
parent 8203715bc0
commit 32800a82fc

View file

@ -7,7 +7,7 @@ import { Button } from "./Button";
export function CopyButton({
value,
children,
onClassName,
className,
variant,
copiedMessage,
...rest
@ -19,7 +19,7 @@ export function CopyButton({
{...rest}
variant={variant === "icon" ? "iconCopy" : "copy"}
on={isCopied}
onClassName={onClassName}
className={className}
onPress={setCopied}
iconStyle={isCopied ? "stroke" : "fill"}
>