import * as React from 'react'; import { CircleAlertIcon } from 'lucide-react'; import { cn } from '#utils'; export const ErrorMessage: React.FC<{ className?: string; error?: null | string[]; hideIconOnWrap?: boolean }> = ({ className, error, hideIconOnWrap }) => { if (!error) { return null; } return (