@yorkie-js/react 0.6.40 → 0.6.41-rc2
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/yorkie-js-react.d.ts +5 -5
- package/dist/yorkie-js-react.es.js +4568 -8049
- package/dist/yorkie-js-react.es.js.map +1 -1
- package/dist/yorkie-js-react.js +4571 -8052
- package/dist/yorkie-js-react.js.map +1 -1
- package/package.json +8 -8
|
@@ -69,9 +69,9 @@ declare type DocumentContextType<R, P extends Indexable = Indexable> = {
|
|
|
69
69
|
*/
|
|
70
70
|
export declare const DocumentProvider: <R, P extends Indexable = Indexable>({ docKey, initialRoot, initialPresence, enableDevtools, children, }: {
|
|
71
71
|
docKey: string;
|
|
72
|
-
initialRoot?: R
|
|
73
|
-
initialPresence?: P
|
|
74
|
-
enableDevtools?: boolean
|
|
72
|
+
initialRoot?: R;
|
|
73
|
+
initialPresence?: P;
|
|
74
|
+
enableDevtools?: boolean;
|
|
75
75
|
children?: default_2.ReactNode;
|
|
76
76
|
}) => JSX.Element;
|
|
77
77
|
|
|
@@ -140,10 +140,10 @@ export declare const usePresenceCount: () => number;
|
|
|
140
140
|
/**
|
|
141
141
|
* `usePresences` is a custom hook that returns the presences of the document.
|
|
142
142
|
*/
|
|
143
|
-
export declare const usePresences: <P extends Indexable = Indexable>() => {
|
|
143
|
+
export declare const usePresences: <P extends Indexable = Indexable>() => Array<{
|
|
144
144
|
clientID: string;
|
|
145
145
|
presence: P;
|
|
146
|
-
}
|
|
146
|
+
}>;
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
149
|
* `useRoot` is a custom hook that returns the root object of the document.
|