IceCubes/IceCubesApp/App/TimelineTabView.swift

17 lines
345 B
Swift
Raw Normal View History

2022-11-29 11:46:02 +01:00
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)
}
}