@bigbinary/neeto-editor 1.2.1 → 1.2.3

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/index.d.ts CHANGED
@@ -62,6 +62,19 @@ interface Config {
62
62
  placeholder?: Partial<PlaceholderOptions>;
63
63
  }
64
64
 
65
+ interface MenuProps {
66
+ editor: string;
67
+ menuType?: "fixed" | "bubble" | "none";
68
+ defaults?: string[];
69
+ addons?: string[];
70
+ uploadEndpoint?: string;
71
+ uploadConfig?: UppyOptions<Record<string, unknown>>;
72
+ mentions?: Mention[];
73
+ variables?: Variable[];
74
+ isIndependant?: boolean;
75
+ className?: string;
76
+ }
77
+
65
78
  export interface EditorProps {
66
79
  initialValue?: string;
67
80
  menuType?: "fixed" | "bubble" | "none";
@@ -101,4 +114,6 @@ export function EditorContent(props: {
101
114
  [otherProps: string]: any;
102
115
  }): JSX.Element;
103
116
 
117
+ export function Menu(props: MenuProps): JSX.Element;
118
+
104
119
  export function isEditorEmpty(htmlContent: string | null | undefined): boolean;