@aaqiljamal/visual-editor-runtime 0.2.0
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/index.d.ts +12 -0
- package/dist/index.js +2049 -0
- package/dist/index.js.map +1 -0
- package/package.json +50 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type VisualEditOverlayProps = {
|
|
2
|
+
/**
|
|
3
|
+
* Where the overlay sends mutation requests. Defaults to
|
|
4
|
+
* "/api/visual-editor" — the path your Next.js Route Handler is mounted
|
|
5
|
+
* at via @aaqiljamal/visual-editor-next. For the standalone server (used by
|
|
6
|
+
* @aaqiljamal/visual-editor-server's CLI), pass "http://127.0.0.1:7790".
|
|
7
|
+
*/
|
|
8
|
+
serverUrl?: string;
|
|
9
|
+
};
|
|
10
|
+
declare function Overlay({ serverUrl }?: VisualEditOverlayProps): null;
|
|
11
|
+
|
|
12
|
+
export { Overlay as VisualEditOverlay };
|