Files
pwap/mobile/src/screens/GovernanceScreen.tsx
T
pezkuwichain 4a3694c831 Fix all shadow deprecation warnings across entire mobile app
- 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
2026-01-14 15:05:10 +03:00

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;