@developer.notchatbot/webchat 1.1.0 → 1.1.2

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.
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { ChatBubblePopoverProps } from '../types';
3
+ declare const ChatBubblePopover: React.FC<ChatBubblePopoverProps>;
4
+ export default ChatBubblePopover;
package/dist/types.d.ts CHANGED
@@ -146,6 +146,16 @@ export interface MessageInputProps {
146
146
  export interface TypingIndicatorProps {
147
147
  avatar?: string;
148
148
  }
149
+ export interface ChatBubblePopoverProps {
150
+ initialMessage?: string;
151
+ avatar?: string;
152
+ position: 'bottom-left' | 'bottom-right';
153
+ marginBottom: number;
154
+ marginSide: number;
155
+ primaryColor: string;
156
+ isMobile: boolean;
157
+ isOpen: boolean;
158
+ }
149
159
  export interface WebChatInstance {
150
160
  root: any;
151
161
  destroy: () => void;