@customerhero/react 0.0.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/LICENSE +21 -0
- package/README.md +68 -0
- package/dist/index.cjs +916 -0
- package/dist/index.d.cts +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +896 -0
- package/package.json +76 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { CustomerHeroChatConfig, IdentifyPayload } from '@customerhero/js';
|
|
3
|
+
export { IdentifyPayload } from '@customerhero/js';
|
|
4
|
+
|
|
5
|
+
interface ChatWidgetProps extends CustomerHeroChatConfig {
|
|
6
|
+
/** Pass customer identity data to link conversations to customer records. */
|
|
7
|
+
identity?: IdentifyPayload;
|
|
8
|
+
}
|
|
9
|
+
declare function ChatWidget({ identity, ...config }: ChatWidgetProps): react_jsx_runtime.JSX.Element;
|
|
10
|
+
|
|
11
|
+
export { ChatWidget, type ChatWidgetProps };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { CustomerHeroChatConfig, IdentifyPayload } from '@customerhero/js';
|
|
3
|
+
export { IdentifyPayload } from '@customerhero/js';
|
|
4
|
+
|
|
5
|
+
interface ChatWidgetProps extends CustomerHeroChatConfig {
|
|
6
|
+
/** Pass customer identity data to link conversations to customer records. */
|
|
7
|
+
identity?: IdentifyPayload;
|
|
8
|
+
}
|
|
9
|
+
declare function ChatWidget({ identity, ...config }: ChatWidgetProps): react_jsx_runtime.JSX.Element;
|
|
10
|
+
|
|
11
|
+
export { ChatWidget, type ChatWidgetProps };
|