Skip to content

Commit d41df27

Browse files
committed
style: modify copy button style. #33
1 parent 2730fe4 commit d41df27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/comps/Copied.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ export const Copied = <T extends object, K extends TagType>(props: CopiedProps<T
6262
const elmProps: React.SVGProps<SVGSVGElement> = {
6363
...reset,
6464
...other,
65-
style: { ...reset.other, ...reset.style, ...svgProps.style },
6665
...svgProps,
66+
style: { ...reset.style, ...other.style, ...svgProps.style },
6767
} as React.SVGProps<SVGSVGElement>;
6868
const isRender = render && typeof render === 'function';
6969
const child =

0 commit comments

Comments
 (0)