import { CircleAlert, CircleCheck } from 'lucide-react' import type { ReactNode } from 'react' import { cn } from '~/lib/utils' interface FormAlertProps { variant?: 'error' | 'success' children: ReactNode } export function FormAlert({ variant = 'error', children }: FormAlertProps) { const Icon = variant === 'success' ? CircleCheck : CircleAlert return (