@lumx/react 4.3.2-alpha.38 → 4.3.2-alpha.39

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/index.d.ts CHANGED
@@ -2054,7 +2054,7 @@ declare function useImageLightbox<P extends Partial<ImageLightboxProps>>(props:
2054
2054
  * @param index Provide an index to choose which image to display when the image lightbox opens.
2055
2055
  * */
2056
2056
  getTriggerProps: (options?: TriggerOptions) => {
2057
- onClick: React__default.MouseEventHandler;
2057
+ onClick: (ev?: React__default.MouseEvent) => void;
2058
2058
  ref: React__default.Ref<any>;
2059
2059
  };
2060
2060
  /** Props to forward to the ImageLightbox */
package/index.js CHANGED
@@ -8407,7 +8407,7 @@ function useImageLightbox(props) {
8407
8407
  }
8408
8408
  },
8409
8409
  onClick(e) {
8410
- open(e.target, options);
8410
+ open(e?.target, options);
8411
8411
  }
8412
8412
  }));
8413
8413
  }, []);