This commit is contained in:
Aakiyaru 2025-05-28 14:19:46 +07:00
parent 51c9b98a7a
commit bf191a40c6

View File

@ -12,6 +12,11 @@ public struct CatalogButton: View {
let title: String
let action: () -> ()
public init(title: String, action: @escaping () -> Void) {
self.title = title
self.action = action
}
public var body: some View {
CustomMainButtonView(title: title, size: .chips, disactive: true) {action()}
}