Skip to main content

LMFeedCustomAgentProviderContext

Introduction

The LMFeedCustomAgentProviderContext stores all the custom styles and callbacks, you provide to the base components. You can use them to implement any custom action on your custom UI. By default, any of the custom definition you pass is also passed in this context internally.

PropertyTypeOptional
LMPostHeaderStylesLMPostHeaderStylesYes
LMFeedCustomIconsLMFeedCustomIconsYes
CustomComponentsCustomComponentsYes
FeedListCustomActionsFeedListCustomActionsYes
FeedPostDetailsCustomActionsFeedPostDetailsCustomActionsYes
GeneralCustomCallbacksGeneralClickCallbacksYes
TopicsCustomCallbacksTopicsCustomActionsYes
RepliesCustomCallbacksRepliesCustomActionsYes
PostCreationCustomCallbacksPostCreationCustomActionsYes
postComponentClickCustomCallbackPostComponentCustomClickEventDelegatorCallbackYes
createPostComponentClickCustomCallbackCreatePostComponentCustomClickEventDelegatorCallbackYes
topicComponentClickCustomCallbackTopicComponentCustomClickEventDelegatorCallbackYes
memberComponentClickCustomCallbackMemberComponentCustomClickEventDelegatorCallbackYes
isAnonymousPostAllowedbooleanYes
hintTextForAnonymousstringYes

Example

For example implementation, checkout here