IceCubes/IceCubesApp/App/Tabs/TimelineTab.swift

18 lines
391 B
Swift
Raw Normal View History

2022-11-29 11:46:02 +01:00
import SwiftUI
import Timeline
import Routeur
2022-11-29 12:18:06 +01:00
import Network
2022-11-29 11:46:02 +01:00
2022-12-01 09:05:26 +01:00
struct TimelineTab: View {
2022-11-29 11:46:02 +01:00
@StateObject private var routeurPath = RouterPath()
var body: some View {
NavigationStack(path: $routeurPath.path) {
2022-11-29 12:18:06 +01:00
TimelineView()
2022-11-29 11:46:02 +01:00
.withAppRouteur()
2022-12-20 09:37:07 +01:00
.withSheetDestinations(sheetDestinations: $routeurPath.presentedSheet)
2022-11-29 11:46:02 +01:00
}
.environmentObject(routeurPath)
}
}