Skip to main content

Post Content

Overview

LMPostContent displays the main content of a post, including text, media, links, and polls.

LMFeedPostContent

Customisation

The LMFeedContextStyles class allows you to customize the appearance of the LMPostContent. You can set the styles in postContent inside of postListStyle in LMFeedContextStyles.

PropertyTypeDescription
textStyleTextStyleStyle applied to the main text content.
visibleLinesnumberNumber of visible lines before showing "Show More" option.
showMoreTextLMTextPropsProps for the "Show More" text component.
postContentViewStyleViewStyleStyle for the overall post content container.
postTopicStylePostTopicStyleObject containing styles for topic text and its container.

PostTopicStyle

PropertyTypeDescription
textTextStyleStyle for the topic text.
boxViewStyleStyle for the container around the topic.