Skip to main content

Explore Feed Item

Overview

The ExploreFeedItem component renders a single item within an explore feed, displaying relevant content like media, text, or any associated user interactions. It handles the layout, presentation, and formatting of the feed items, making them interactable within the explore section.

GitHub File:

LMFeedMediaPreviewScreen

Styling Customisation

These styles can be set using the setExploreChatroomStyle method on the STYLES class

PropertyTypeDescription
headerHeaderStyle configuration for the header
filterHeaderFilterHeaderStyle configuration for the filter header
chatroomTitleChatroomTitleStyle configuration for the chatroom title
chatroomSubTitleChatroomSubtitleStyle configuration for the chatroom subtitle
chatroomDescriptionChatroomDescriptionStyle configuration for the chatroom description
joinButtonJoinButtonStyle configuration for the join button
joinedButtonJoinedButtonStyle configuration for the joined button
PropertyTypeDescription
colorstringColor of the header text
fontSizenumberFont size of the header text
fontFamilystringFont family of the header text
placeHolderTextstringPlaceholder text for the header

FilterHeader

PropertyTypeDescription
colorstringColor of the filter header text
fontSizenumberFont size of the filter header text
fontFamilystringFont family of the filter header text

ChatroomTitle

PropertyTypeDescription
colorstringColor of the chatroom title
fontSizenumberFont size of the chatroom title
fontFamilystringFont family of the chatroom title

ChatroomSubtitle

PropertyTypeDescription
colorstringColor of the chatroom subtitle
fontSizenumberFont size of the chatroom subtitle
fontFamilystringFont family of the chatroom subtitle

ChatroomDescription

PropertyTypeDescription
colorstringColor of the chatroom description
fontSizenumberFont size of the chatroom description
fontFamilystringFont family of the chatroom description

JoinButton

PropertyTypeDescription
placeHolderTextstringPlaceholder text for the join button
colorstringColor of the join button text
fontSizenumberFont size of the join button text
fontFamilystringFont family of the join button text
backgroundColorstringBackground color of the join button
borderRadiusstringBorder radius of the join button

JoinedButton

PropertyTypeDescription
placeHolderTextstringPlaceholder text for the joined button
colorstringColor of the joined button text
fontSizenumberFont size of the joined button text
fontFamilystringFont family of the joined button text
backgroundColorstringBackground color of the joined button
borderRadiusstringBorder radius of the joined button

Usage Example

  • Call the setExploreChatroomStyle method on the STYLES class to set styling customisations.
import { STYLES } from "@likeminds.community/chat-rn-core"

STYLES.setExploreChatroomStyle({
chatroomTitle: {
color: 'red',
fontFamily: 'roboto',
fontSize: 20
},
header: {
placeHolderText: 'custom placeholder'
},
chatroomDescription: {
color: 'yellow',
fontSize: 20
},
joinButton: {
backgroundColor: 'blue'
},
joinedButton: {
borderRadius: 20
}
})