Skip to content

Commit bae1037

Browse files
committed
fix(Circle): fix pointProps props issue. fix #173
1 parent a85ff06 commit bae1037

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/color-circle/src/Point.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ export default function Point({ style, className, title, checked, color, onClick
4040
padding: 3,
4141
marginRight: 12,
4242
marginBottom: 12,
43-
...style,
4443
display: 'flex',
4544
alignItems: 'center',
4645
justifyContent: 'center',
@@ -49,8 +48,9 @@ export default function Point({ style, className, title, checked, color, onClick
4948
borderRadius: '50%',
5049
boxSizing: 'border-box',
5150
transform: 'scale(1)',
52-
boxShadow: `${color} 0px 0px ${checked ? 5 : 0}px`,
5351
transition: 'transform 100ms ease 0s, box-shadow 100ms ease 0s',
52+
...style,
53+
boxShadow: `${color} 0px 0px ${checked ? 5 : 0}px`,
5454
}}
5555
>
5656
<div {...rectProps} style={styleWrapper} />

0 commit comments

Comments
 (0)