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

775 B
Raw Blame
import { Lock } from 'lucide-react';

import { Alert, AlertTitle, AlertDescription } from '@/components/ui/alert';

interface LockedAlertProps {
  title: string;
  description: string;
  button: React.ReactNode;
}

export const LockedAlert = ({
  title,
  description,
  button,
}: LockedAlertProps) => {
  return (
    <Alert className="flex items-center gap-4 mb-4">
      <div className="flex items-start gap-3">
        <Lock className="h-5 w-5 text-gray-12 mt-1" />
        <div>
          <AlertTitle className="font-semibold text-lg">{title}</AlertTitle>
          <AlertDescription className="text-sm text-gray-11">
            {description}
          </AlertDescription>
        </div>
      </div>
      <div className="ml-auto">{button}</div>
    </Alert>
  );
};