import React from 'react'; import cn from 'classnames'; import stl from './tabs.module.css'; import { Segmented } from 'antd'; import { Icon } from 'UI' interface Props { tabs: Array; active: string; onClick: (key: any) => void; border?: boolean; className?: string; } const iconMap = { "INSPECTOR": 'filters/tag-element', "CLICKMAP": 'mouse-pointer-click', 'EVENTS': 'user-switch' } as const const Tabs = ({ tabs, active, onClick, border = true, className }: Props) => { return (
); }; Tabs.displayName = 'Tabs'; export default Tabs;