import React, { FC, HTMLAttributes } from 'react';
import classNames from 'classnames';
import SidebarHeadline from './SidebarHeadline';
import SidebarLink from './SidebarLink';
import Image from '../Image';
import { routes } from '../../routes';
import { Icon } from '../Icon';
import './Sidebar.scss';
const Menu = (
{[
'core',
'dashboard',
'services',
'anomalies',
'administration',
'profile',
'team',
'sso',
'api',
'webhooks',
'events',
'audits',
].map((key, idx) => {
if (!routes[key]) return null;
const { header, path, ...rest } = routes[key];
if (header) {
return (
-
);
}
if (path) {
return (
-
);
}
return null;
})}
);
const Sidebar: FC> = ({ className }) => {
return (
);
};
export default Sidebar;