You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
866 B

//
// MainView.swift
// PodcastsClone
//
// Created by etudiant on 2023-05-12.
//
import SwiftUI
struct MainView: View {
var body: some View {
TabView {
Text("Listen Now")
.tabItem {
Label("Listen Now", systemImage: "play")
}
Text("Browse")
.tabItem {
Label("Browse", systemImage: "square.grid.2x2")
}
LibraryView(podcasts: Stub.podcasts)
.tabItem {
Label("Library", systemImage: "book")
}
Text("Search")
.tabItem {
Label("Search", systemImage: "magnifyingglass")
}
}
}
}
struct MainView_Previews: PreviewProvider {
static var previews: some View {
MainView()
}
}