Restored files from old Mac, force pushing

This commit is contained in:
Hariharan Mudaliar 2025-07-13 20:26:03 +05:30
commit 5040381840
126 changed files with 10431 additions and 67 deletions

View file

@ -0,0 +1,30 @@
//
// TabButton.swift
// boringNotch
//
// Created by Hugo Persson on 2024-08-24.
//
import SwiftUI
struct TabButton: View {
let label: String
let icon: String
let selected: Bool
let onClick: () -> Void
var body: some View {
Button(action: onClick) {
Image(systemName: icon)
.padding(.horizontal, 15)
.contentShape(Capsule())
}
.buttonStyle(PlainButtonStyle())
}
}
#Preview {
TabButton(label: "Home", icon: "tray.fill", selected: true) {
print("Tapped")
}
}