//
//  TCImageCollectionCell.swift
//  TooneCRM
//
//  Created by fishxiaou on 2022/4/15.
//

import UIKit

class TCImageCollectionCell: UICollectionViewCell {
    
    @IBOutlet weak var bgView: UIView!
    @IBOutlet weak var cellImageView: UIImageView!
    @IBOutlet weak var deleteButton: UIButton!
    @IBOutlet weak var tipLabel: UILabel!
    @IBOutlet weak var titleLabel: UILabel!
    
    var actionCall:(()->())?

    override func awakeFromNib() {
        super.awakeFromNib()
        deleteButton.setImage(UIImage(named: "photo_btn_delet"), for: .normal)
    }
    
    @IBAction func deleteAction(_ sender: UIButton) {
        actionCall?()
    }
    
}
