Skip to main content

Swipeable

Overview

The Swipeable component in the LikeMinds Chat React Native integration provides swipe gesture functionality for items in a list or collection. It enables users to perform actions like deleting, replying, or reacting to messages by swiping left or right on an item. The component manages the swipe gestures, renders any actions tied to the swipe, and ensures a smooth and responsive user interaction, enhancing the overall chat experience by allowing quick access to these options.

LMFeedMediaPreviewScreen

Props

PropertyTypeDescriptionDefaultRequired
onFocusKeyboardFunctionTriggered when the keyboard gains focus.
itemConversationRepresents the conversation data.✔️
isStateIncludedbooleanIndicates if the state is included.✔️
childrenReact.ReactNodeThe child elements to be rendered inside.