@cambly/syntax-core 6.9.0 → 6.10.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
@@ -35,7 +35,7 @@ declare const Badge: ({ icon: Icon, text, color, }: {
35
35
  * The icon to be displayed. Please use a [Material Icon](https://material.io/resources/icons/)
36
36
  */
37
37
  icon?: React$1.ComponentType<{
38
- className: string;
38
+ className?: string | undefined;
39
39
  }> | undefined;
40
40
  /**
41
41
  * The text to display inside the badge
@@ -432,13 +432,13 @@ type ButtonType = {
432
432
  * The icon to be displayed at the start of the button. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)
433
433
  */
434
434
  startIcon?: React__default.ComponentType<{
435
- className: string;
435
+ className?: string;
436
436
  }>;
437
437
  /**
438
438
  * The icon to be displayed at the end of the button. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)
439
439
  */
440
440
  endIcon?: React__default.ComponentType<{
441
- className: string;
441
+ className?: string;
442
442
  }>;
443
443
  /**
444
444
  * The callback to be called when the button is clicked
@@ -632,7 +632,7 @@ type IconButtonType = {
632
632
  * The icon to be displayed. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)
633
633
  */
634
634
  icon: React__default.ComponentType<{
635
- className: string;
635
+ className?: string;
636
636
  }>;
637
637
  /**
638
638
  * If `true`, the button will be disabled
@@ -707,13 +707,13 @@ declare function LinkButton({ text, href, target, rel, "data-testid": dataTestId
707
707
  * The icon to be displayed at the start of the button. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)
708
708
  */
709
709
  startIcon?: React__default.ComponentType<{
710
- className: string;
710
+ className?: string;
711
711
  }>;
712
712
  /**
713
713
  * The icon to be displayed at the end of the button. Please use a [Rounded Material Icon](https://material.io/resources/icons/?style=round)
714
714
  */
715
715
  endIcon?: React__default.ComponentType<{
716
- className: string;
716
+ className?: string;
717
717
  }>;
718
718
  /**
719
719
  * An optional onClick event. This is used for certain wrapper's support (such as react-router-dom).