import ComponentLibrary
import SwiftUI

struct LyricsEditorBigButton: View {
    let textLabel: String
    let action: () -> Void

    var body: some View {
        Button {
            action()
        } label: {
            Text(textLabel)
                .typographyV1(.body3)
                .foregroundStyle(Color.SemanticV1.textPrimary)
                .padding(.all, 12.0)
                .padding(.horizontal, 6.0)
                .background {
                    Color.SemanticV1.backgroundQuaternary
                }
                .clipShape(.rect(cornerRadius: .infinity))
        }
        .buttonStyle(.plain)
    }
}
