Files
pwap/mobile/src/screens/P2PScreen.tsx
T

32 lines
789 B
TypeScript

import React from 'react';
import { StyleSheet } from 'react-native';
import { SafeAreaView } from 'react-native-safe-area-context';
import PezkuwiWebView from '../components/PezkuwiWebView';
/**
* P2P Trading Screen
*
* Uses WebView to load the full-featured P2P trading interface from the web app.
* The web app handles all P2P logic (offers, trades, escrow, chat, disputes).
* Native wallet bridge allows transaction signing from the mobile app.
*/
const P2PScreen: React.FC = () => {
return (
<SafeAreaView style={styles.container}>
<PezkuwiWebView
path="/p2p"
title="P2P Trading"
/>
</SafeAreaView>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#FFFFFF',
},
});
export default P2PScreen;