Skip to main content

LMQNAFeed

Overview

The LMQNAFeed is the initializer component for LikeMinds Social Feed. You will use it to set up a social feed in your application.

Props

PropertyTypeDescriptionOptional
clientLMFeedClientThe LMClient instanceNo
showMemberbooleanFlag to show member informationYes
userDetailsUserDetailsDetails of the userNo
customEventClientLMFeedCustomEventsClient for custom events handlingNo
analyticsCallbackAnalyticsCallbackCallback function for analytics eventsYes
LMFeedCoreCallbacksLMCoreCallbacksCore callback functions for the LMFeedYes
allowThumbnailboolean Flag to allow thumbnails in the feedYes
LMPostHeaderStylesLMPostHeaderStylesCustom styles for the post headerYes
LMFeedCustomIconsLMFeedCustomIconsCustom icons used in the feedYes
CustomComponentsCustomComponentsCustom components to override default componentsYes
FeedListCustomActionsFeedListCustomActionsCustom actions for the feed listYes
FeedPostDetailsCustomActionsFeedPostDetailsCustomActionsCustom actions for the post details viewYes
GeneralCustomCallbacksGeneralClickCallbacksGeneral custom click callbacksYes
TopicsCustomCallbacksTopicsCustomActionsCustom actions for topicsYes
RepliesCustomCallbacksRepliesCustomActionsCustom actions for repliesYes
PostCreationCustomCallbacksPostCreationCustomActionsCustom actions during post creationYes
postComponentClickCustomCallbackPostComponentCustomClickEventDelegatorCallbackCustom click event handler for post componentsYes
createPostComponentClickCustomCallbackCreatePostComponentCustomClickEventDelegatorCallbackCustom click event handler for create post componentsYes
topicComponentClickCustomCallbackTopicComponentCustomClickEventDelegatorCallbackCustom click event handler for topic componentsYes
memberComponentClickCustomCallbackMemberComponentCustomClickEventDelegatorCallbackCustom click event handler for member componentsYes
isAnonymousPostAllowedbooleanIndicates if anonymous posting is allowedYes
hintTextForAnonymousstringHint text to display when anonymous posting is enabledYes

Usage Example

Check out the getting started guide to check example usage.

Customisations

For customisations, you can refer to this guide