Member Item
Overview
LMMemberListItem
is used to display user information associated for a like list. It showcases the user's profile image and name, along with an optional custom title.
GitHub File:
Customisations
These customisations can be applied through setPostLikesListStyles
on the STYLES
class
Property | Type | Description |
---|---|---|
screenHeader | LMHeaderProps | Props to customize the screen header. |
likeListItemStyle | ViewStyle | Style for each item in the like list. |
userNameTextStyle | TextStyle | Style for the user name text. |
userDesignationTextStyle | TextStyle | Style for the user designation text. |
Usage Example
import { STYLES } from "@likeminds.community/feed-rn-core"
STYLES.setPostLikesListStyles({
screenHeader: {
showBackArrow: true,
subHeadingTextStyle: {
fontSize: 20
},
},
likeListItemStyle: {
margin: 20
},
userDesignationTextStyle: {
fontWeight: 'bold'
}
})