import { Search } from 'lucide-react'; import { useCurrentStateAndParams } from '@uirouter/react'; import { Environment } from '@/react/portainer/environments/types'; import { Button } from '@@/buttons'; import { Link } from '@@/Link'; import { Icon } from '@@/Icon'; import { LogsActions } from './LogsActions'; interface Props { environment: Environment; } export function EnvironmentActions({ environment }: Props) { const { params: { stackId: edgeStackId }, } = useCurrentStateAndParams(); return (