UNPKG

@openshift-console/dynamic-plugin-sdk

Version:

Based on the concept of [webpack module federation](https://webpack.js.org/concepts/module-federation/), dynamic plugins are loaded and interpreted from remote sources at runtime. The standard way to deliver and expose dynamic plugins to Console is throug

12 lines (11 loc) 612 B
/// <reference types="react" /> import { RouteComponentProps } from 'react-router'; import { Extension, ExtensionDeclaration, CodeRef } from '../types'; export declare type StorageProvider = ExtensionDeclaration<'console.storage-provider', { name: string; Component: CodeRef<React.ComponentType<Partial<RouteComponentProps>>>; }>; export declare const isStorageProvider: (e: Extension<any>) => e is ExtensionDeclaration<"console.storage-provider", { name: string; Component: CodeRef<import("react").ComponentType<Partial<RouteComponentProps<{}, import("react-router").StaticContext, any>>>>; }>;