-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(6) feat: add network settings flow stack (#346)
* feat: add NetworkSettingsFlowStack * chore: add copyright comment * fix: typo on NetworkSettingsDisclaimer * lint: resolve lint issues
- Loading branch information
1 parent
ebc2582
commit 7202b83
Showing
4 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { createStackNavigator } from '@react-navigation/stack'; | ||
|
||
export const NetworkSettingsFlowNav = Symbol('NetworkSettingsFlowStack').toString(); | ||
|
||
export const NetworkSettingsFlowStack = ({ navigation }) => { | ||
const FlowStack = createStackNavigator(); | ||
return ( | ||
<FlowStack.Navigator | ||
initialRouteName='NetworkSettingsDisclaimer' | ||
screenOptions={{ | ||
headerShown: false, | ||
}} | ||
/> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* Copyright (c) Hathor Labs and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
import { NetworkSettingsFlowStack, NetworkSettingsFlowNav } from './NetworkSettingsFlowStack'; | ||
|
||
export { | ||
NetworkSettingsFlowStack, | ||
NetworkSettingsFlowNav | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters