     private var textField: UITextField = UITextField(frame: .zero)
     private var type: CDAlertViewType!
     weak private var hideTimer: Timer!
+    public var headerHeight: CGFloat = CDAlertViewConstants().headerHeight
     
     private lazy var actions: [CDAlertViewAction] = [CDAlertViewAction]()
 

        headerView.hasRoundCorners = hasRoundCorners
        headerView.alertBackgroundColor = alertBackgroundColor
        headerView.circleFillColor = circleFillColor
        popupView.addSubview(headerView)
        headerView.translatesAutoresizingMaskIntoConstraints = false
        headerView.cd_alignTopToParent(with: 0)
        headerView.cd_alignLeftToParent(with: 0)
        headerView.cd_alignRightToParent(with: 0)
        headerView.cd_setHeight(constants.headerHeight)
    }

    private func createButtonContainer() {

            popupView.layer.masksToBounds = false
            let path = UIBezierPath()
            path.move(to: CGPoint(x: 0.0, y: popupView.bounds.size.height))
            path.addLine(to: CGPoint(x: 0, y: headerHeight))
            path.addLine(to: CGPoint(x: popupView.bounds.size.width,
                                     y: CGFloat(headerHeight - 5)))
            path.addLine(to: CGPoint(x: popupView.bounds.size.width,
                                     y: popupView.bounds.size.height))
            path.close()
