Some checks are pending
Build Release and Upload to TestFlight (iOS) / build (push) Waiting to run
Build Release and Upload to TestFlight (iOS) / testflight-upload (push) Blocked by required conditions
BuildReleaseApk / buildReleaseApk (push) Waiting to run
BuildReleaseApk / browserstack (push) Blocked by required conditions
34 lines
1.0 KiB
TypeScript
34 lines
1.0 KiB
TypeScript
import { createNativeStackNavigator } from '@react-navigation/native-stack';
|
|
import React, { lazy } from 'react';
|
|
|
|
import navigationStyle, { CloseButtonPosition } from '../components/navigationStyle';
|
|
import { useTheme } from '../components/themes';
|
|
import loc from '../loc';
|
|
import { withLazySuspense } from './LazyLoadingIndicator';
|
|
|
|
const Stack = createNativeStackNavigator();
|
|
|
|
const SignVerify = lazy(() => import('../screen/wallets/signVerify'));
|
|
const SignVerifyComponent = withLazySuspense(SignVerify);
|
|
|
|
const SignVerifyStackRoot = () => {
|
|
const theme = useTheme();
|
|
|
|
return (
|
|
<Stack.Navigator screenOptions={{ headerShadowVisible: false }}>
|
|
<Stack.Screen
|
|
name="SignVerify"
|
|
component={SignVerifyComponent}
|
|
options={navigationStyle({
|
|
headerBackVisible: false,
|
|
statusBarStyle: 'light',
|
|
title: loc.addresses.sign_title,
|
|
closeButtonPosition: CloseButtonPosition.Right,
|
|
})(theme)}
|
|
/>
|
|
</Stack.Navigator>
|
|
);
|
|
};
|
|
|
|
export default SignVerifyStackRoot;
|