File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
base/templates/App/Screens Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " romulus-cli " : patch
3+ ---
4+
5+ Fix the import for the Router in the Main screen
6+ Imports the ` RootStackParamList ` in the screen command
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { t } from "<%= name %>/App/Helpers/Translations";
66< % } - % >
77import Button from '<%= name %>/App/Components/Button' ;
88import Text from '<%= name %>/App/Components/Text' ;
9- import { RootStackParamList } from "<%= name %>/App/Router" ;
9+ import { RootStackParamList } from "<%= name %>/App/Components/ Router" ;
1010
1111type MainScreenNavigationProp = StackNavigationProp < RootStackParamList , "Main" > ;
1212
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import { Box } from "@mobily/stacks";
22import React from "react" ;
33import { StackNavigationProp } from "@react-navigation/stack" ;
44import Text from "<%= name %>/App/Components/Text" ;
5+ import { RootStackParamList } from "<%= name %>/App/Components/Router" ;
56
67type < %= screen % > ScreenNavigationProp = StackNavigationProp <
78 RootStackParamList ,
You can’t perform that action at this time.
0 commit comments