package ru.fincode.tsudesk.feature.schedule.presentation.navigation

import androidx.compose.ui.Modifier
import androidx.navigation.NavGraphBuilder
import androidx.navigation.compose.composable
import ru.fincode.tsudesk.core.navigation.AppRoute
import ru.fincode.tsudesk.feature.schedule.presentation.screen.ScheduleRoute

fun NavGraphBuilder.scheduleGraph(
    modifier: Modifier = Modifier,
    // на будущее:
    // onOpenDetails: (lessonId: Long) -> Unit,
) {
    composable<AppRoute.Schedule> {
        ScheduleRoute(
            modifier = modifier,
            // onOpenDetails = onOpenDetails
        )
    }

    // composable<AppRoute.ScheduleDetails> { entry ->
    //     val args = entry.toRoute<AppRoute.ScheduleDetails>()
    //     ScheduleDetailsRoute(lessonId = args.lessonId)
    // }
}