add ai and todo example templates for native frontends (#293)

This commit is contained in:
Aman Varshney
2025-06-02 16:30:53 +05:30
committed by GitHub
parent 9dbeea8983
commit 7851d0636d
42 changed files with 1606 additions and 536 deletions

View File

@@ -1,3 +1,6 @@
{{#if (includes examples "ai")}}
import "@/polyfills";
{{/if}}
{{#if (eq api "trpc")}}
import { queryClient } from "@/utils/trpc";
{{/if}}
@@ -39,9 +42,9 @@ export default function RootLayout() {
backgroundColor: theme.colors.background,
},
headerTitleStyle: {
color: theme.colors.typography,
color: theme.colors.foreground,
},
headerTintColor: theme.colors.typography,
headerTintColor: theme.colors.foreground,
}}
>
<Stack.Screen name="(drawer)" options=\{{ headerShown: false }} />
@@ -62,9 +65,9 @@ export default function RootLayout() {
backgroundColor: theme.colors.background,
},
headerTitleStyle: {
color: theme.colors.typography,
color: theme.colors.foreground,
},
headerTintColor: theme.colors.typography,
headerTintColor: theme.colors.foreground,
}}
>
<Stack.Screen name="(drawer)" options=\{{ headerShown: false }} />
@@ -83,9 +86,9 @@ export default function RootLayout() {
backgroundColor: theme.colors.background,
},
headerTitleStyle: {
color: theme.colors.typography,
color: theme.colors.foreground,
},
headerTintColor: theme.colors.typography,
headerTintColor: theme.colors.foreground,
}}
>
<Stack.Screen name="(drawer)" options=\{{ headerShown: false }} />