@fileverse-dev/ddoc 2.0.6-patch-8 → 2.0.7-patch-1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -0
- package/dist/index.es.js +21391 -21287
- package/dist/package/types.d.ts +1 -0
- package/dist/package/use-ddoc-editor.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
@@ -49,6 +49,7 @@ The `DdocProps` interface is a TypeScript interface that defines the properties
|
|
49
49
|
| `onError` (optional) | `(errorString: string) => void` | Function to call on error |
|
50
50
|
| `setCharacterCount` (optional) | `React.Dispatch<SetStateAction<number>>` | Optional. React Set State function to update Character Count |
|
51
51
|
| `setWordCount` (optional) | `React.Dispatch<SetStateAction<number>>` | Optional. React Set State function to update Word Count |
|
52
|
+
| `scrollPosition`(optional | `number` | User cursor position to scroll to on intitalising the content of the editor |
|
52
53
|
|
53
54
|
## Data Interface
|
54
55
|
|