@cambly/syntax-core 6.1.1 → 6.2.0

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.d.ts CHANGED
@@ -437,7 +437,7 @@ type ButtonType = {
437
437
  /**
438
438
  * The callback to be called when the button is clicked
439
439
  */
440
- onClick: React__default.MouseEventHandler<HTMLButtonElement>;
440
+ onClick?: React__default.MouseEventHandler<HTMLButtonElement>;
441
441
  /**
442
442
  * The tooltip to be displayed when the user hovers over the button
443
443
  */
@@ -592,7 +592,7 @@ type IconButtonType = {
592
592
  /**
593
593
  * The callback to be called when the button is clicked
594
594
  */
595
- onClick: React__default.MouseEventHandler<HTMLButtonElement>;
595
+ onClick?: React__default.MouseEventHandler<HTMLButtonElement>;
596
596
  /**
597
597
  * The tooltip to be displayed when the user hovers over the button
598
598
  */