@prismatic-io/embedded
Version:
Embed Prismatic's integration marketplace and workflow designer within your existing application.
27 lines (26 loc) • 904 B
TypeScript
import type { Options } from "../types/options";
export type ShowDashboardProps = Options & {};
/**
* Renders the customer dashboard, which provides an overview of the customer's
* deployed instances, logs, connections, and other resources.
*
* Specific tabs can be hidden via `screenConfiguration.dashboard.hideTabs`.
*
* @param options - Display options for the dashboard.
*
* @example
* // Show dashboard in a popover
* prismatic.showDashboard({ usePopover: true });
*
* @example
* // Show dashboard inline, hiding certain tabs
* prismatic.showDashboard({
* selector: "#dashboard-container",
* screenConfiguration: {
* dashboard: { hideTabs: ["Logs", "Credentials"] },
* },
* });
*
* @see {@link https://prismatic.io/docs/embed/additional-screens/show-dashboard/ | Embedding the Dashboard}
*/
export declare const showDashboard: (options?: ShowDashboardProps) => void;