Fix copy button className
This commit is contained in:
parent
8203715bc0
commit
32800a82fc
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ import { Button } from "./Button";
|
||||||
export function CopyButton({
|
export function CopyButton({
|
||||||
value,
|
value,
|
||||||
children,
|
children,
|
||||||
onClassName,
|
className,
|
||||||
variant,
|
variant,
|
||||||
copiedMessage,
|
copiedMessage,
|
||||||
...rest
|
...rest
|
||||||
|
@ -19,7 +19,7 @@ export function CopyButton({
|
||||||
{...rest}
|
{...rest}
|
||||||
variant={variant === "icon" ? "iconCopy" : "copy"}
|
variant={variant === "icon" ? "iconCopy" : "copy"}
|
||||||
on={isCopied}
|
on={isCopied}
|
||||||
onClassName={onClassName}
|
className={className}
|
||||||
onPress={setCopied}
|
onPress={setCopied}
|
||||||
iconStyle={isCopied ? "stroke" : "fill"}
|
iconStyle={isCopied ? "stroke" : "fill"}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue