Skip to content

Commit

Permalink
Update src/components/AttachmentCarousel/CarouselActions/index.native.js
Browse files Browse the repository at this point in the history
Co-authored-by: Santhoshkumar Sellavel <85645967+Santhosh-Sellavel@users.noreply.github.com>
  • Loading branch information
JediWattson and Santhosh-Sellavel authored Jan 16, 2023
1 parent 77eb354 commit 31e389b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ const propTypes = {
/** Callback to handle a press event because PanResponder will intercept all gestures */
onPress: PropTypes.func.isRequired,

/** These help to prevent a swipe animation when at either end */
/** Boolean to prevent a left swipe action */
canSwipeLeft: PropTypes.bool.isRequired,

/** Boolean to prevent a right swipe action */
canSwipeRight: PropTypes.bool.isRequired,
};

Expand Down

0 comments on commit 31e389b

Please sign in to comment.