mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-06-14 19:29:31 +00:00
17 lines
345 B
Swift
17 lines
345 B
Swift
import SwiftUI
|
|
import Timeline
|
|
import Routeur
|
|
|
|
struct TimelineTabView: View {
|
|
let tab: String
|
|
@StateObject private var routeurPath = RouterPath()
|
|
|
|
var body: some View {
|
|
NavigationStack(path: $routeurPath.path) {
|
|
TimelineView(client: .init(server: tab))
|
|
.withAppRouteur()
|
|
}
|
|
.environmentObject(routeurPath)
|
|
}
|
|
}
|