portainer/app/react/sidebar/AzureSidebar/AzureSidebar.tsx

25 lines
592 B
TypeScript

import { Box } from 'react-feather';
import { EnvironmentId } from '@/portainer/environments/types';
import { DashboardLink } from '../items/DashboardLink';
import { SidebarItem } from '../SidebarItem';
interface Props {
environmentId: EnvironmentId;
}
export function AzureSidebar({ environmentId }: Props) {
return (
<>
<DashboardLink environmentId={environmentId} platformPath="azure" />
<SidebarItem
to="azure.containerinstances"
params={{ endpointId: environmentId }}
icon={Box}
label="Container instances"
/>
</>
);
}