@prismatic-io/embedded
Version: 
Embed Prismatic's integration marketplace and workflow designer within your existing application.
22 lines (21 loc) • 682 B
TypeScript
import { Filters } from "./filters";
import { ScreenConfiguration } from "./screenConfiguration";
import { Theme } from "./theme";
import { Translation } from "./translation";
interface OptionsBase {
    autoFocusIframe?: boolean;
    filters?: Filters;
    screenConfiguration?: ScreenConfiguration;
    theme?: Theme;
    translation?: Translation;
}
export interface SelectorOptions extends OptionsBase {
    selector: string;
    usePopover?: false;
}
export interface PopoverOptions extends OptionsBase {
    usePopover: true;
}
export type Options = PopoverOptions | SelectorOptions;
export declare const isPopover: (options: Options) => options is PopoverOptions;
export {};