@telnyx/ai-chat-widget 3.0.0 → 3.1.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
@@ -1,5 +1,6 @@
1
1
  import { JSX } from 'react/jsx-runtime';
2
2
  import * as React_2 from 'react';
3
+ import { SVGProps } from 'react';
3
4
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
4
5
 
5
6
  declare type BaseProps = {
@@ -58,9 +59,9 @@ declare interface ChatWidgetNoMounting extends BaseProps {
58
59
  offsetY?: never;
59
60
  /**
60
61
  * The icon to be used in the chat widget
61
- * @default `ChatBubbleOvalLeftIcon`
62
+ * @default `RCSIcon`
62
63
  */
63
- icon?: React.ComponentType<React.SVGProps<SVGSVGElement>>;
64
+ icon?: typeof RCSIcon;
64
65
  }
65
66
 
66
67
  declare type ChatWidgetProps = ChatWidgetNoMounting | ChatWidgetWithMounting;
@@ -96,6 +97,12 @@ declare type MountingProps = {
96
97
  icon?: never;
97
98
  };
98
99
 
100
+ declare type Props = {
101
+ ref?: React.RefObject<SVGSVGElement>;
102
+ } & SVGProps<SVGSVGElement>;
103
+
104
+ declare const RCSIcon: (props: Props) => JSX.Element;
105
+
99
106
  export declare const Tooltip: React_2.FC<TooltipPrimitive.TooltipProps>;
100
107
 
101
108
  export declare const TooltipContent: {