jsxc-react-hook 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +4 -1
- package/dist/Jsxc.d.ts +3 -0
- package/dist/jsxc-react-hook.js +190 -186
- package/dist/jsxc-react-hook.umd.cjs +9 -9
- package/dist/jsxc.bundle.js +1 -1
- package/dist/style.css +3 -3
- package/package.json +1 -1
- package/public/jsxc.bundle.js +1 -1
- package/src/Jsxc.tsx +19 -10
- package/src/Sel.tsx +7 -7
- package/src/lib/styles/jsxc.bundle.css +3 -3
package/README.md
CHANGED
@@ -20,7 +20,10 @@
|
|
20
20
|
marginRight?: string; (defalut is 40px)
|
21
21
|
fullscreen?: boolean; (defalut is false)
|
22
22
|
jqueryUrl?: string;
|
23
|
-
showMenu: "yes"|"no" (use boolean has bug in create-react-app)
|
23
|
+
showMenu: "yes"|"no" (use boolean has bug in create-react-app, default is yes, same as below)
|
24
|
+
showAudioButton: "yes"|"no"
|
25
|
+
showVideoButton: "yes"|"no"
|
26
|
+
showOfflineButton: "yes"|"no"
|
24
27
|
|
25
28
|
```
|
26
29
|
## api
|
package/dist/Jsxc.d.ts
CHANGED
@@ -11,6 +11,9 @@ export interface JsxcProp {
|
|
11
11
|
fullscreen?: boolean;
|
12
12
|
jqueryUrl?: string;
|
13
13
|
showMenu: "yes" | "no";
|
14
|
+
showAudioButton: "yes" | "no";
|
15
|
+
showVideoButton: "yes" | "no";
|
16
|
+
showOfflineButton: "yes" | "no";
|
14
17
|
}
|
15
18
|
export declare function directOpenChatWindow(jid: string): Promise<void>;
|
16
19
|
export declare function Jsxc(prop: JsxcProp): import("react/jsx-runtime").JSX.Element;
|