- Introduced href functions for accessing materials, including hrefMaterials, hrefMaterialSubject, and hrefMaterialDetail. - Updated AppsScreen to include a new entry for materials, enhancing the app's educational resources section. - Exported material types in index.ts to support the new materials functionality.
11 lines
279 B
TypeScript
11 lines
279 B
TypeScript
import { Stack } from 'expo-router';
|
|
|
|
export default function MaterialsStackLayout() {
|
|
return (
|
|
<Stack screenOptions={{ headerShown: false }}>
|
|
<Stack.Screen name="index" />
|
|
<Stack.Screen name="subject" />
|
|
<Stack.Screen name="detail" />
|
|
</Stack>
|
|
);
|
|
} |