@highcharts/dashboards
Version:
Highcharts Dashboards framework
21 lines (20 loc) • 625 B
TypeScript
import type { GridNamespace } from './GridTypes';
import type { DashboardsPlugin } from '../PluginHandler';
import GridComponent from '../Components/GridComponent/GridComponent.js';
declare module '../Components/ComponentType' {
interface ComponentTypeRegistry {
Grid: typeof GridComponent;
}
}
/**
* Connects Grid with the Dashboard plugin.
*
* @param GridNS
* Grid core to connect.
*/
declare function connectGrid(GridNS: GridNamespace): void;
declare const GridCustom: {
connectGrid: typeof connectGrid;
};
declare const GridPlugin: DashboardsPlugin<typeof GridCustom>;
export default GridPlugin;