From e5021187e96b78b53203bd95d08d6818aea47d17 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Wed, 14 Jul 2021 15:10:31 +0200 Subject: New Ignite 7.0.6 app --- ignite/templates/screen/NAME-screen.tsx.ejs | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ignite/templates/screen/NAME-screen.tsx.ejs (limited to 'ignite/templates/screen/NAME-screen.tsx.ejs') diff --git a/ignite/templates/screen/NAME-screen.tsx.ejs b/ignite/templates/screen/NAME-screen.tsx.ejs new file mode 100644 index 0000000..a54ccdd --- /dev/null +++ b/ignite/templates/screen/NAME-screen.tsx.ejs @@ -0,0 +1,25 @@ +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 ( + + + + ) +}) -- cgit v1.2.3