indicator-ui 0.0.134 → 0.0.135

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
@@ -10590,9 +10590,9 @@ __webpack_require__.r(__webpack_exports__);
10590
10590
 
10591
10591
 
10592
10592
 
10593
- function SelectFieldOptionsItem({ option, active, onClick, className }) {
10593
+ function SelectFieldOptionsItem({ option, active, onClick }) {
10594
10594
  if (option.component) {
10595
- return react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(option.component, { onClick: onClick, active: active });
10595
+ return react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(option.component, { onClick: onClick, active: active, ...option.component.props });
10596
10596
  }
10597
10597
  return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("button", { onClick: onClick, className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(_styles__WEBPACK_IMPORTED_MODULE_4__.SelectFieldStyle.selectFieldOptionsItem, {
10598
10598
  [_styles__WEBPACK_IMPORTED_MODULE_4__.SelectFieldStyle.active]: active,