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
Property | Type | Description | Optional |
---|---|---|---|
client | LMFeedClient | The LMClient instance | No |
showMember | boolean | Flag to show member information | Yes |
userDetails | UserDetails | Details of the user | No |
customEventClient | LMFeedCustomEvents | Client for custom events handling | No |
analyticsCallback | AnalyticsCallback | Callback function for analytics events | Yes |
LMFeedCoreCallbacks | LMCoreCallbacks | Core callback functions for the LMFeed | Yes |
allowThumbnail | boolean | Flag to allow thumbnails in the feed | Yes |
LMPostHeaderStyles | LMPostHeaderStyles | Custom styles for the post header | Yes |
LMFeedCustomIcons | LMFeedCustomIcons | Custom icons used in the feed | Yes |
CustomComponents | CustomComponents | Custom components to override default components | Yes |
FeedListCustomActions | FeedListCustomActions | Custom actions for the feed list | Yes |
FeedPostDetailsCustomActions | FeedPostDetailsCustomActions | Custom actions for the post details view | Yes |
GeneralCustomCallbacks | GeneralClickCallbacks | General custom click callbacks | Yes |
TopicsCustomCallbacks | TopicsCustomActions | Custom actions for topics | Yes |
RepliesCustomCallbacks | RepliesCustomActions | Custom actions for replies | Yes |
PostCreationCustomCallbacks | PostCreationCustomActions | Custom actions during post creation | Yes |
postComponentClickCustomCallback | PostComponentCustomClickEventDelegatorCallback | Custom click event handler for post components | Yes |
createPostComponentClickCustomCallback | CreatePostComponentCustomClickEventDelegatorCallback | Custom click event handler for create post components | Yes |
topicComponentClickCustomCallback | TopicComponentCustomClickEventDelegatorCallback | Custom click event handler for topic components | Yes |
memberComponentClickCustomCallback | MemberComponentCustomClickEventDelegatorCallback | Custom click event handler for member components | Yes |
isAnonymousPostAllowed | boolean | Indicates if anonymous posting is allowed | Yes |
hintTextForAnonymous | string | Hint text to display when anonymous posting is enabled | Yes |
Usage Example
Check out the getting started guide to check example usage.
Customisations
For customisations, you can refer to this guide