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.
 
 
PadelClub/PadelClub/Views/Components/ButtonValidateView.swift

22 lines
404 B

//
// ButtonValidateView.swift
// PadelClub
//
// Created by Razmig Sarkissian on 24/04/2024.
//
import SwiftUI
struct ButtonValidateView: View {
var role: ButtonRole?
var title: String = "Valider"
let action: () -> ()
var body: some View {
Button(title, role: role) {
action()
}
.clipShape(Capsule())
.buttonStyle(.bordered)
}
}