Skip to content

Commit

Permalink
fix pressable types
Browse files Browse the repository at this point in the history
  • Loading branch information
nandorojo committed Mar 2, 2023
1 parent 6f9476e commit cc9ad43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/moti/src/interactions/pressable/pressable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export const MotiPressable = forwardRef<View, MotiPressableProps>(
style={style}
onLayout={onLayout}
>
{/* @ts-ignore */}
{typeof children == 'function' ? children(interaction) : children}
</MotiView>
)
Expand Down

0 comments on commit cc9ad43

Please sign in to comment.