ProfileAuthor

Usage

let item = {
    image: require("@assets/images/profile-1.jpg"),
    name: "Steve Garrett",
    description: "5 hours ago | 100k views",
    textRight: "Jun 2018"
}

<ProfileAuthor                                
    image={item.image}
    name={item.name}
    description={item.description}
    textRight={item.textRight}
    style={{
        marginTop: 20
    }}
/>

Props

image

Type: String | Required
Path of image display on card

name

Type: String | Required
Name of user profile

description

Type: String
Description of user profile

textRight

Type: String
Text display on the right of item

style

Type: StyleProp
Customize CSS style ViewStyle

onPress

Type: Function
Function to execute on press post item