kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
14 lines (13 loc) • 544 B
TypeScript
import React from 'react';
import { SidePanelItem, SidePanelProps } from '../types';
import { RGBColor } from '@kepler.gl/types';
export declare type CustomPanelsStaticProps<P> = {
panels: SidePanelItem[];
getProps?: (props: SidePanelProps) => P;
};
export declare type CustomPanelsProps = {
activeSidePanel: string | null;
updateTableColor: (dataId: string, newColor: RGBColor) => void;
};
declare function CustomPanelsFactory<P>(): React.FC<CustomPanelsProps> & CustomPanelsStaticProps<P>;
export default CustomPanelsFactory;