mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
29 lines
794 B
TypeScript
29 lines
794 B
TypeScript
import { createNativeStackNavigator } from '@react-navigation/native-stack';
|
|
import React from 'react';
|
|
|
|
import navigationStyle from '../components/navigationStyle';
|
|
import { useTheme } from '../components/themes';
|
|
import { ScanQRCodeComponent } from './LazyLoadScanQRCodeStack';
|
|
|
|
const Stack = createNativeStackNavigator();
|
|
|
|
const ScanQRCodeStackRoot = () => {
|
|
const theme = useTheme();
|
|
|
|
return (
|
|
<Stack.Navigator screenOptions={{ headerShadowVisible: false }}>
|
|
<Stack.Screen
|
|
name="ScanQRCode"
|
|
component={ScanQRCodeComponent}
|
|
options={navigationStyle({
|
|
headerShown: false,
|
|
statusBarHidden: true,
|
|
presentation: 'fullScreenModal',
|
|
})(theme)}
|
|
/>
|
|
</Stack.Navigator>
|
|
);
|
|
};
|
|
|
|
export default ScanQRCodeStackRoot;
|