//
//  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)
    }
}
