UNPKG

kepler.gl

Version:

kepler.gl is a webgl based application to visualize large scale location data in the browser

21 lines (20 loc) 680 B
import React from 'react'; import { BaseProps } from '../common/icons'; declare type StyledPanelTabProps = { active?: boolean; }; export declare type PanelItem = { id: string; label: string; iconComponent: React.ComponentType<Partial<BaseProps>>; }; export declare type PanelTabProps = { isActive: boolean; panel: PanelItem; onClick: (e: React.MouseEvent<HTMLDivElement>) => void; }; export declare const StyledPanelTab: import("styled-components").StyledComponent<"div", any, { className: "side-panel__tab"; } & StyledPanelTabProps, "className">; export declare function PanelTabFactory(): React.FC<PanelTabProps>; export default PanelTabFactory;