mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
Add Native Todo Example Support (#285)
This commit is contained in:
committed by
Aman Varshney
parent
41ec89a79a
commit
906b55599b
@@ -17,6 +17,18 @@ const DrawerLayout = () => {
|
||||
),
|
||||
}}
|
||||
/>
|
||||
{{#if (includes examples "todo")}}
|
||||
<Drawer.Screen
|
||||
name="todos"
|
||||
options={{
|
||||
headerTitle: "Todos",
|
||||
drawerLabel: "Todos",
|
||||
drawerIcon: ({ size, color }) => (
|
||||
<Ionicons name="checkbox-outline" size={size} color={color} />
|
||||
),
|
||||
}}
|
||||
/>
|
||||
{{/if}}
|
||||
<Drawer.Screen
|
||||
name="(tabs)"
|
||||
options={{
|
||||
Reference in New Issue
Block a user