+ {/* This is dummy code, inline styles will not be added in production */}
+
+ {JSON.stringify(services.capabilities.navLinks, null, 2)}
+
+ ,
+ canvasElement
+ );
+
+ return () => ReactDOM.unmountComponentAtNode(canvasElement);
+};
diff --git a/src/plugins/discover/public/application/view_components/canvas/index.ts b/src/plugins/discover/public/application/view_components/index.ts
similarity index 62%
rename from src/plugins/discover/public/application/view_components/canvas/index.ts
rename to src/plugins/discover/public/application/view_components/index.ts
index 4c418d41a67..45fd68cf128 100644
--- a/src/plugins/discover/public/application/view_components/canvas/index.ts
+++ b/src/plugins/discover/public/application/view_components/index.ts
@@ -3,4 +3,5 @@
* SPDX-License-Identifier: Apache-2.0
*/
-export * from './create_canvas';
+export * from './canvas';
+export * from './panel';
diff --git a/src/plugins/discover/public/application/view_components/panel/create_panel.tsx b/src/plugins/discover/public/application/view_components/panel/create_panel.tsx
deleted file mode 100644
index 15735fe81d8..00000000000
--- a/src/plugins/discover/public/application/view_components/panel/create_panel.tsx
+++ /dev/null
@@ -1,10 +0,0 @@
-/*
- * Copyright OpenSearch Contributors
- * SPDX-License-Identifier: Apache-2.0
- */
-
-import React from 'react';
-
-export const createPanel = () => {
- return