//
//  SpeakPracticeWordsListCell.swift
//  SpeakEasyLearnEnglish
//
//  Created by edy on 2025/7/25.
//

import UIKit

class SpeakPracticeWordsListCell: UITableViewCell {

    static let id = "SpeakPracticeWordsListCell"
    
    // MARK: - ib
    @IBOutlet weak var SpeakPracticeWordL: UILabel!
    @IBOutlet weak var SpeakPracticeWordSub: UILabel!
    @IBOutlet weak var SpeakPracticeType: UIImageView!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        self.selectionStyle = .none
        self.corners = 12
        
    }

    @IBAction func PracticeWordPlayer(_ sender: Any) {
        SpeakSpeechSynthesizer.share.speakText(SpeakPracticeWordL.text ?? "")
    }
}
