import { Pressable, StyleSheet, Text, View } from 'react-native' import React from 'react' interface PriceProps{ price: string; currency: string; } interface PaymentProps{ price: PriceProps; buttonPressHandler: any; buttonTitle: string; } const PaymentFooter: React.FC = ({ price, buttonPressHandler, buttonTitle, }) => { return ( Price {price.currency}{price.price} buttonPressHandler()}> {buttonTitle} ) } export default PaymentFooter const styles = StyleSheet.create({})