             animateChanges {
                 actionButton.setButtonConfiguration(buttonConfig)
             }
+            return actionButton
         } else {
             
             removeBottonActionButton()

            animateChanges {
                self.view.layoutIfNeeded()
            }
        }
    }



  // MARK: - Bottom Action Button

    @nonobjc @discardableResult
    public func addBottomActionButton(_ buttonConfig: ButtonConfiguration) -> UIButton {
    
        guard traitCollection.horizontalSizeClass == .compact else { fatalError() }
        
