Skip to content

Commit

Permalink
Merge pull request #152 from agrawal-rohit/master
Browse files Browse the repository at this point in the history
MotiPressable: Changed containerStyle to style on parent element
  • Loading branch information
nandorojo authored Jan 12, 2022
2 parents 9a6461f + 157438a commit 6398f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/interactions/src/pressable/pressable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export const MotiPressable = forwardRef<View, MotiPressableProps>(
// @ts-expect-error incorrect ref types, lol
ref={ref}
onLayout={onContainerLayout}
containerStyle={containerStyle}
style={containerStyle}
// Accessibility props
accessibilityActions={accessibilityActions}
accessibilityElementsHidden={accessibilityElementsHidden}
Expand Down

1 comment on commit 6398f49

@vercel
Copy link

@vercel vercel bot commented on 6398f49 Jan 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.