@forge/bridge
7.3.0-next.87.3.0-next.9
out/panel/panel.d.ts+
out/panel/panel.d.tsNew file+19
Index: package/out/panel/panel.d.ts
===================================================================
--- package/out/panel/panel.d.ts
+++ package/out/panel/panel.d.ts
@@ -0,0 +1,19 @@
+export interface PanelOptions {
+ /**
+ * Key of the resource to render in the panel.
+ */
+ resource: string;
+ /**
+ * Called when `panel.close` is called
+ */
+ onClose?: () => void;
+}
+/**
+ * A panel that opens on the right-hand side of the host product.
+ * This feature is currently in development and is not yet available.
+ */
+export declare const panel: {
+ open: ({ resource, onClose }: PanelOptions) => Promise<void>;
+ close: () => Promise<void>;
+};
+//# sourceMappingURL=panel.d.ts.map
\ No newline at end of file