Skip to content

Commit a49b180

Browse files
author
Rishabh
committed
setting activeOpacity to 1
1 parent 4749679 commit a49b180

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/Rating/components/IconBar.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const IconBar = ({
2727
filled = false,
2828
}) => (
2929
<TouchableOpacity
30+
activeOpacity={1}
3031
onPress={() => {
3132
if (!readonly) {
3233
onIconTap(position + 1);
@@ -40,12 +41,7 @@ const IconBar = ({
4041
size={size}
4142
/>
4243
) : (
43-
<StyledIcon
44-
name={name}
45-
size={size}
46-
color={color}
47-
margin={margin}
48-
/>
44+
<StyledIcon name={name} size={size} color={color} margin={margin} />
4945
)}
5046
</TouchableOpacity>
5147
);

0 commit comments

Comments
 (0)