         messageLabel.numberOfLines = 0;
         messageLabel.textAlignment = .left
         messageLabel.text = message
-        setLineSpacing(textLabel: messageLabel, alignment:.left )
         contentView.addSubview(messageLabel)
         
         let actionButton = UIButton()

    }
}


extension UILabel {
    
    func setLineSpacing(lineSpacing: CGFloat = 0.0, lineHeightMultiple: CGFloat = 0.65, alignment : NSTextAlignment = .center) {
        
        guard let labelText = self.text else { return }
        
        let paragraphStyle = NSMutableParagraphStyle()
        paragraphStyle.lineSpacing = lineSpacing
        paragraphStyle.lineHeightMultiple = lineHeightMultiple
        paragraphStyle.alignment = alignment
        
        let attributedString:NSMutableAttributedString
        //        if let labelattributedText = self.attributedText {
        //            attributedString = NSMutableAttributedString(attributedString: labelattributedText)
        //        } else {
        attributedString = NSMutableAttributedString(string: labelText)
        //  }
        
        // Line spacing attribute
        attributedString.addAttribute(NSAttributedString.Key.paragraphStyle, value:paragraphStyle, range:NSMakeRange(0, attributedString.length))
        
        self.attributedText = attributedString
    }
    
    func attributedSizedText(withString string: String, SizedString: String, font: UIFont, size:CGFloat) -> NSAttributedString {
        let attributedString = NSMutableAttributedString(string: string,
                                                         attributes: [NSAttributedString.Key.font: font])
        let boldFontAttribute: [NSAttributedString.Key: Any] = [NSAttributedString.Key.font: font.withSize(size)]
        let range = (string as NSString).range(of: SizedString)
        attributedString.addAttributes(boldFontAttribute, range: range)
        return attributedString
    }
    
}

    fileprivate static let snackbarDefaultFrame: CGRect = CGRect(x: 0, y: 0, width: 320, height: 44)
    
    /// Snackbar min height
    fileprivate static let snackbarMinHeight: CGFloat = 44
    
    /// Snackbar icon imageView default width
    fileprivate static let snackbarIconImageViewWidth: CGFloat = 32
