import { CheckCircle2, ArrowRight, Plus } from 'lucide-react' import { cn } from '@/lib/utils' import type { KBCommitResponse } from '@/types/kbAccelerator' interface SuccessScreenProps { result: KBCommitResponse onViewFlow: () => void onConvertAnother: () => void } export function SuccessScreen({ result, onViewFlow, onConvertAnother }: SuccessScreenProps) { return (
Your KB article has been converted into a {result.tree_type === 'troubleshooting' ? 'troubleshooting' : 'project'} flow and added to your library.