Post Content
Overview
LMPostContent
displays the main content of a post, including text, media, links, and polls.
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
.
Property | Type | Description |
---|---|---|
textStyle | TextStyle | Style applied to the main text content. |
visibleLines | number | Number of visible lines before showing "Show More" option. |
showMoreText | LMTextProps | Props for the "Show More" text component. |
postContentViewStyle | ViewStyle | Style for the overall post content container. |
postTopicStyle | PostTopicStyle | Object containing styles for topic text and its container. |
PostTopicStyle
Property | Type | Description |
---|---|---|
text | TextStyle | Style for the topic text. |
box | ViewStyle | Style for the container around the topic. |