diff options
Diffstat (limited to 'ignite/templates/screen/NAME-screen.tsx.ejs')
-rw-r--r-- | ignite/templates/screen/NAME-screen.tsx.ejs | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ignite/templates/screen/NAME-screen.tsx.ejs b/ignite/templates/screen/NAME-screen.tsx.ejs deleted file mode 100644 index a54ccdd..0000000 --- a/ignite/templates/screen/NAME-screen.tsx.ejs +++ /dev/null @@ -1,25 +0,0 @@ -import React from "react" -import { observer } from "mobx-react-lite" -import { ViewStyle } from "react-native" -import { Screen, Text } from "../../components" -// import { useNavigation } from "@react-navigation/native" -// import { useStores } from "../../models" -import { color } from "../../theme" - -const ROOT: ViewStyle = { - backgroundColor: color.palette.black, - flex: 1, -} - -export const <%= props.pascalCaseName %>Screen = observer(function <%= props.pascalCaseName %>Screen() { - // Pull in one of our MST stores - // const { someStore, anotherStore } = useStores() - - // Pull in navigation via hook - // const navigation = useNavigation() - return ( - <Screen style={ROOT} preset="scroll"> - <Text preset="header" text="<%= props.camelName %>" /> - </Screen> - ) -}) |