indicator-ui 0.0.264 → 0.0.265

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.
package/dist/index.js CHANGED
@@ -29136,12 +29136,13 @@ function Dropdown(_ref) {
29136
29136
  };
29137
29137
  var getItem = function getItem(curItem, idx) {
29138
29138
  var value = getValue(curItem);
29139
+ var active = isActive === null || isActive === void 0 ? void 0 : isActive(value);
29139
29140
  if (_typeof(curItem) === 'object' && 'customComponent' in curItem) {
29140
29141
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(curItem.customComponent, {
29141
29142
  onClick: function onClick() {
29142
29143
  return handleClick(curItem);
29143
29144
  },
29144
- active: isActive(value),
29145
+ active: active,
29145
29146
  key: idx
29146
29147
  });
29147
29148
  }
@@ -29151,7 +29152,7 @@ function Dropdown(_ref) {
29151
29152
  onClick: function onClick() {
29152
29153
  return handleClick(curItem);
29153
29154
  },
29154
- selected: isActive(value)
29155
+ selected: active
29155
29156
  }, curItem), {}, {
29156
29157
  key: idx
29157
29158
  }));