import React from 'react'; import { StyleSheet, ViewStyle, StyleProp } from 'react-native'; import { Button, Icon } from 'react-native-elements'; export interface FacebookLoginButtonProps { /** The button title. Defaults to "Login with Facebook" */ title?: string; /** * Additional styles or styles to override default style */ style?: StyleProp; /** The event handler for when the button is pressed */ onPress: () => void; } /** * description */ const FacebookLoginButton: React.FC = ({ title = 'Login with Facebook', style, onPress, ...rest }) => { return (