import Icon from 'react-native-vector-icons/MaterialIcons'; import React, { FunctionComponent } from 'react'; import { StyleSheet, TextStyle } from 'react-native'; import { IButtonProps, IStyledProps } from '../../../../common/types'; interface IProps extends IStyledProps<{ icon?: TextStyle }>, IButtonProps { callIconName?: string; callIconType?: any; } export const SwapButtonView: FunctionComponent = ({ onPress, callIconName, style }) => { callIconName = callIconName || 'swap-horiz'; return ( ); };