gd-bs 6.3.4 → 6.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -130,7 +130,7 @@ var _Button = /** @class */ (function (_super) {
130
130
  this.el.prepend(this.props.iconType(this.props.iconSize, this.props.iconSize, this.props.iconClassName));
131
131
  }
132
132
  // Else, it's an element
133
- else if (typeof (this.props.iconType === "object")) {
133
+ else if (typeof (this.props.iconType) === "object") {
134
134
  // Append the icon
135
135
  this.el.prepend(this.props.iconType);
136
136
  }
@@ -102,7 +102,7 @@ var DropdownItem = /** @class */ (function () {
102
102
  elItem.prepend(this.props.iconType(iconSize, iconSize, this.props.iconClassName));
103
103
  }
104
104
  // Else, it's an element
105
- else if (typeof (this.props.iconType === "object")) {
105
+ else if (typeof (this.props.iconType) === "object") {
106
106
  // Append the icon
107
107
  elItem.prepend(this.props.iconType);
108
108
  }
@@ -57,7 +57,7 @@ var _IconLink = /** @class */ (function (_super) {
57
57
  this._elIcon = this.props.iconType(this.props.iconSize, this.props.iconSize, this.props.iconClassName);
58
58
  }
59
59
  // Else, it's an element
60
- else if (typeof (this.props.iconType === "object")) {
60
+ else if (typeof (this.props.iconType) === "object") {
61
61
  // Set the icon
62
62
  this._elIcon = this.props.iconType;
63
63
  }
@@ -82,7 +82,7 @@ var NavbarItem = /** @class */ (function () {
82
82
  link.prepend(this._props.iconType(iconSize, iconSize, this._props.iconClassName));
83
83
  }
84
84
  // Else, it's an element
85
- else if (typeof (this._props.iconType === "object")) {
85
+ else if (typeof (this._props.iconType) === "object") {
86
86
  // Append the icon
87
87
  link.prepend(this._props.iconType);
88
88
  }