Coinly/Coinly/App/ContentView.swift
2025-03-02 18:45:26 +00:00

24 lines
653 B
Swift

import SwiftUI
struct ContentView: View {
@State private var transactions = TransactionModel.sampleData
var body: some View {
TabView {
DashboardView(transactions: transactions)
.tabItem {
Label("Dashboard", systemImage: "chart.pie.fill")
}
TransactionsView()
.tabItem {
Label("Transactions", systemImage: "list.bullet")
}
ProfileView()
.tabItem {
Label("Profile", systemImage: "person.fill")
}
}
}
}