Skip to content

Commit

Permalink
Update icon.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
kanzitelli committed Mar 15, 2023
1 parent f5bdace commit 60cbf7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ export const Icon: React.FC<IconProps> = ({
color = Colors.textColor,
viewProps,
onPress,
bounceable = true,
bounceable = false,
}: IconProps) => {
const Icon = useMemo(
() => (
<View {...viewProps}>
<IconComponent name={name} size={size} color={color} />
<IconComponent name={name as any} size={size} color={color} />
</View>
),
[viewProps, name, size, color],
Expand Down

0 comments on commit 60cbf7f

Please sign in to comment.