Add Native Todo Example Support (#285)

This commit is contained in:
Igor Belogurov
2025-05-27 06:52:01 +02:00
committed by Aman Varshney
parent 41ec89a79a
commit 906b55599b
3 changed files with 312 additions and 0 deletions

View File

@@ -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={{