NavComponent

fun NavComponent(navController: NavHostController, navigationType: JndNavigationType, modifier: Modifier = Modifier)

Composable function for creating a navigation component. It sets up the navigation routes and their corresponding screens.

Parameters

navController

The NavController for navigating between screens.

navigationType

The type of navigation to use (e.g., bottom navigation, drawer navigation).

modifier

The modifier to apply to the NavHost.