fd
This commit is contained in:
parent
51c9b98a7a
commit
bf191a40c6
@ -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()}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user