jsxc-react-hook 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +4 -1
- package/dist/App.d.ts +3 -0
- package/dist/Jsxc.d.ts +16 -0
- package/dist/Sel.d.ts +1 -0
- package/dist/demo.png +0 -0
- package/dist/jsxc-react-hook.js +695 -0
- package/dist/jsxc-react-hook.umd.cjs +30 -0
- package/dist/jsxc.bundle.js +2 -0
- package/dist/main.d.ts +1 -0
- package/dist/style.css +10 -0
- package/dist/vite.svg +1 -0
- 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/App.d.ts
ADDED
package/dist/Jsxc.d.ts
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
|
2
|
+
export interface JsxcProp {
|
3
|
+
boshUrl: string;
|
4
|
+
id: string;
|
5
|
+
pw: string;
|
6
|
+
contactId?: string;
|
7
|
+
marginTop?: string;
|
8
|
+
marginLeft?: string;
|
9
|
+
marginBottom?: string;
|
10
|
+
marginRight?: string;
|
11
|
+
fullscreen?: boolean;
|
12
|
+
jqueryUrl?: string;
|
13
|
+
showMenu: "yes" | "no";
|
14
|
+
}
|
15
|
+
export declare function directOpenChatWindow(jid: string): Promise<void>;
|
16
|
+
export declare function Jsxc(prop: JsxcProp): import("react/jsx-runtime").JSX.Element;
|
package/dist/Sel.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export default function Sel(): import("react/jsx-runtime").JSX.Element;
|
package/dist/demo.png
ADDED
Binary file
|