     
     open override func configure() {
         super.configure()
-        configureCellWithButton()
-    }
-    private func configureCellWithButton() {
+
         selectionStyle = .none
-        
+
         contentView.addSubview(button)
         button.translatesAutoresizingMaskIntoConstraints = false
-        
+
         button.leadingAnchor.constraint(equalTo: contentView.leadingAnchor).isActive = true
         button.trailingAnchor.constraint(equalTo: contentView.trailingAnchor).isActive = true
         button.topAnchor.constraint(equalTo: contentView.topAnchor).isActive = true


    open override func configure() {
        super.configure()
        configureCellWithSlider()
    }
    private func configureCellWithSlider() {
        selectionStyle = .none

        contentView.addSubview(slider)

}

// MARK: - Custom Cells
    
open class TableCellToggle: TableCellBasic {
    public let toggle = UISwitch()
    
    open override func configure() {
        super.configure()

        selectionStyle = .none
        accessoryView = toggle
        toggle.addTarget(self, action: #selector(performCallback(_:)), for: .valueChanged)
    }
}

open class TableCellToggleSubtitle: TableCellSubtitle {
    public let toggle = UISwitch()
    
    open override func configure() {
        super.configure()

        selectionStyle = .none
        accessoryView = toggle
        toggle.addTarget(self, action: #selector(performCallback(_:)), for: .valueChanged)
    }
}

