Usage
let item = { name: "Steve, Lincoln, Harry", detail: "and 15 people like this", users: [ { image: require("@assets/images/profile-2.jpg") }, { image: require("@assets/images/profile-3.jpg") }, { image: require("@assets/images/profile-4.jpg") } } } <ProfileGroup name={item.name} detail={item.detail} users={item.users} />
Props
name
Type: String | Required
String name of users
detail
Type: String
Description of list users
users
Type: Array[{image}, ….]
List path of user’s image
style
Type: StyleProp
Customize CSS style ViewStyle
onPress
Type: Function
Function to execute on press group item
onPressLove
Type: Function
Function to execute on press icon heart