HelpBlock

Usage

let helpBlock = {
    title: "Need Us Help ?",
    description: "we would be happy to help you",
    phone: "9-840-298-125 93",
    email: "contact@support.com"
}

<HelpBlock
    title={helpBlock.title}
    description={helpBlock.description}
    phone={helpBlock.phone}
    email={helpBlock.email}
    style={{ margin: 20 }}
    onPress={() => {
        navigation.navigate("ContactUs"); // call internal function
    }}
/>

Props

title

Type: String
The title of help block

description

Type: String
The description of help block

phone

Type: String
Phone contact number

email

Type: String
Email address

onPress

Type: Function
Function to execute on press

style

Type: StyleProp
Customize CSS style ViewStyle