src/components/Component/CustomButton.js
import React from 'react';
import { View, Button } from 'react-native';
const customButton =(props)=>(
<View style={props.container_style}>
<Button title={props.title?props.title:"Title"} color={props.color} onPress={props.pressHandler} />
</View>
)
export default customButton;