mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-30 06:57:57 +00:00
4a3694c831
- Replaced shadowColor/shadowOffset/shadowOpacity/shadowRadius with boxShadow - Fixed 28 files (21 screens + 7 components) - Preserved elevation for Android compatibility - All React Native Web deprecation warnings resolved Files fixed: - All screen components - All reusable components - Navigation components - Modal components
31 lines
717 B
TypeScript
31 lines
717 B
TypeScript
import React from 'react';
|
|
import { SafeAreaView, StyleSheet } from 'react-native';
|
|
import { PezkuwiWebView } from '../components';
|
|
|
|
/**
|
|
* Governance Screen
|
|
*
|
|
* Uses WebView to load the governance interface from the web app.
|
|
* Includes elections, proposals, voting, and government role management.
|
|
* Native wallet bridge allows transaction signing for votes.
|
|
*/
|
|
const GovernanceScreen: React.FC = () => {
|
|
return (
|
|
<SafeAreaView style={styles.container}>
|
|
<PezkuwiWebView
|
|
path="/elections"
|
|
title="Governance"
|
|
/>
|
|
</SafeAreaView>
|
|
);
|
|
};
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
backgroundColor: '#FFFFFF',
|
|
},
|
|
});
|
|
|
|
export default GovernanceScreen;
|