@majoo-ui/react 1.52.0 → 1.52.2-rc.1

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/README.md CHANGED
@@ -1,7 +1,7 @@
1
- React
2
-
3
- This library was generated with [Nx](https://nx.dev).
4
-
5
- Running unit tests
6
-
7
- Run `nx test react` to execute the unit tests via [Jest](https://jestjs.io).
1
+ React
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ Running unit tests
6
+
7
+ Run `nx test react` to execute the unit tests via [Jest](https://jestjs.io).
@@ -11,6 +11,14 @@ interface ContentEditorProps {
11
11
  * Adjust editor height.
12
12
  */
13
13
  editorHeight?: number;
14
+ /**
15
+ * Customize pre-built option in the toolbar.
16
+ */
17
+ toolbar?: (defaultToolbar: object) => void;
18
+ /**
19
+ * State of the editor content.
20
+ */
21
+ editorState?: string;
14
22
  /**
15
23
  * Change event handler.
16
24
  */
@@ -19,6 +27,10 @@ interface ContentEditorProps {
19
27
  * Callback function to add image upload option.
20
28
  */
21
29
  uploadCallback?: () => void;
30
+ /**
31
+ * Set max length of the content.
32
+ */
33
+ maxLength?: number;
22
34
  }
23
35
  export default function ContentEditor(props: ContentEditorProps): JSX.Element;
24
36
  export {};