Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

872 B
Raw Blame
import { t } from 'i18next';
import { TriangleAlert } from 'lucide-react';

import { Alert, AlertDescription } from '../ui/alert';
export const DefaultTag = () => {
  return (
    <div className="text-xs flex items-center justify-center  rounded-xl border border-gray-6 px-2.5 py-0.5">
      {t('Default')}
    </div>
  );
};

export const GlobalConnectionWarning = () => {
  return (
    <Alert variant="warning">
      <TriangleAlert className="h-4 w-4" />
      <AlertDescription>
        {t(
          'Deselecting a global connection from a project that has a flow using it, will break the flow.',
        )}
      </AlertDescription>
    </Alert>
  );
};

export const DeleteConnectionWarning = () => {
  return (
    <div>
      {t('Any flows currently using these connections')}{' '}
      <strong>{t('will break immediately')}</strong>. <br />
    </div>
  );
};