yattee/Shared/ContentView.swift

22 lines
464 B
Swift
Raw Normal View History

2021-06-09 20:51:23 +00:00
import SwiftUI
struct ContentView: View {
var body: some View {
2021-06-10 22:50:10 +00:00
NavigationView {
TabView {
2021-06-11 12:36:26 +00:00
PopularVideosView()
.tabItem { Text("Popular") }
SearchView()
.tabItem { Image(systemName: "magnifyingglass") }
2021-06-10 22:50:10 +00:00
}
}
2021-06-09 20:51:23 +00:00
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}