UNPKG

pwa-synergy-api

Version:

synergy application api

14 lines 558 B
import { Component } from "src/types"; export interface ComponentPanel { panelId?: string; component: Component<any>; } export interface ComponentSelectorProps<T extends object> { components: ComponentPanel[]; newTab: (panelId: string, id: string, props?: any, commands?: object) => string | undefined; panelId: string; commands: T; } declare const ComponentSelector: <T extends Object>(props: ComponentSelectorProps<T>) => import("react/jsx-runtime").JSX.Element; export default ComponentSelector; //# sourceMappingURL=index.d.ts.map