 //
 
 import UIKit
-import SnapKit
 
 open class BarButton: UIControl, LayoutPerformer {
     

        
        contentView.isUserInteractionEnabled = false
        addSubview(contentView)
        contentView.snp.makeConstraints { (make) in
            self.contentViewPins = make.edges.equalToSuperview().constraint
        }
        
        performLayout(in: contentView)
    }

    // MARK: Properties
    
    private let contentView = UIView()
    private var contentViewLeading: NSLayoutConstraint!
    private var contentViewTop: NSLayoutConstraint!
    private var contentViewTrailing: NSLayoutConstraint!
    private var contentViewBottom: NSLayoutConstraint!

    public var contentInset: UIEdgeInsets = .zero {
        didSet {
            contentViewLeading.constant = contentInset.left
            contentViewTop.constant = contentInset.top
            contentViewTrailing.constant = contentInset.right
            contentViewBottom.constant = contentInset.bottom
        }
    }
    
