@wavelengthusaf/components 2.8.0 → 2.8.1

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/esm/index.js CHANGED
@@ -4743,9 +4743,9 @@ function WavelengthCommentDisplay(props) {
4743
4743
  !selected && /* @__PURE__ */ jsx17(
4744
4744
  IconButton2,
4745
4745
  {
4746
- onClick: () => {
4746
+ onClick: (e) => {
4747
4747
  setSelected(!selected);
4748
- props.onClick;
4748
+ props.onClick?.(e);
4749
4749
  },
4750
4750
  style: { padding: "0px" },
4751
4751
  children: /* @__PURE__ */ jsx17(CheckCircleOutlineIcon, { fontSize: "small" })
@@ -4754,9 +4754,9 @@ function WavelengthCommentDisplay(props) {
4754
4754
  selected && /* @__PURE__ */ jsx17(
4755
4755
  IconButton2,
4756
4756
  {
4757
- onClick: () => {
4757
+ onClick: (e) => {
4758
4758
  setSelected(!selected);
4759
- props.onClick;
4759
+ props.onClick?.(e);
4760
4760
  },
4761
4761
  style: { padding: "0px" },
4762
4762
  children: /* @__PURE__ */ jsx17(CheckCircleIcon, { fontSize: "small", sx: { color: props.iconSelectedColor || "rgba(209, 106, 47, 1)" } })