//
//  PhotoEditingToolFilterCell.swift
//  WoWonder
//
//  Created by iMac on 23/05/25.
//  Copyright © 2025 ScriptSun. All rights reserved.
//

import UIKit

class PhotoEditingToolFilterCell: UICollectionViewCell {
    
    @IBOutlet weak var filterImageView: UIImageView!
    @IBOutlet weak var filterEffectView: UIView!
    @IBOutlet weak var filterNameLabel: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
        // Initialization code
        
    }
    
    // Set Data
    func setData(data: PhotoFilterModel) {
        self.filterNameLabel.text = data.photoFilter.displayName
        self.filterImageView.image = data.filterSmallImage
        self.filterEffectView.isHidden = true
    }
    
}
