@fileverse-dev/ddoc 1.2.1 → 1.2.3

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -38,6 +38,7 @@ The `DdocProps` interface is a TypeScript interface that defines the properties
38
38
  | `collaborationId` (optional) | `string` | When using enableCollaboration, you need to provide collaborationId, it can be uuid of doc |
39
39
  | `toggleCollaboration` (optional) | `(flag: boolean) => void` | Function to toggle collaboration mode with a boolean flag |
40
40
  | `onAutoSave` (optional) | `(flag:boolean) => void` | Function which expose the current editor state every 10 seconds |
41
+ | `username` (required when using collaboration) | `boolean` | Takes a username which can be used by collaboration cursor
41
42
 
42
43
  ## Data Interface
43
44