2024-MacC-M14-Medio / SqoopDesignSystem / Sources / SQComponents / CustomComponents / Buttons / SQSecondButton.swift
SQSecondButton.swift
Raw
//
//  SQSecondButton.swift
//  Temp
//
//  Created by Greem on 10/29/24.
//

import SwiftUI
import SqoopDesignSystem

public struct SQSecondButton: View {
    public let buttonText: String
    public let isActive: Bool
    public let action: () -> Void
    public init(buttonText: String,
                isActive: Bool,
                action: @escaping () -> Void) {
        
        self.buttonText = buttonText
        self.isActive = isActive
        self.action = action
    }
    public var body: some View {
        SQDefaultButtonCore(buttonText: buttonText,
                            isActive: isActive,
                            action: action,
                            height: 44)
    }
}