feat: implement navigation for growth recipe feature

This commit is contained in:
Cutiful 2025-07-10 18:21:21 +07:00
parent 38bc640806
commit fafc3c5854

View File

@ -0,0 +1,22 @@
package com.syaroful.agrilinkvocpro.growth_recipe_feature.naviagtion
import androidx.compose.runtime.Composable
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import androidx.navigation.compose.rememberNavController
import com.syaroful.agrilinkvocpro.growth_recipe_feature.presentation.recipe.GrowthRecipeScreen
import com.syaroful.agrilinkvocpro.growth_recipe_feature.presentation.recomendation.ClusterScreen
@Composable
fun SetupNavigation() {
val navController = rememberNavController()
NavHost(navController, startDestination = "growth_recipe") {
composable("growth_recipe") {
GrowthRecipeScreen(navController = navController)
}
composable("cluster") {
ClusterScreen(navController = navController)
}
}
}