import cn from "@utils/classnames.ts";
import type { ReactNode } from "react";

export default function FormError({
  className = "",
  children,
}: {
  className?: string;
  children: ReactNode;
}) {
  return (
    <span className={cn(className, 'dark:text-red-400" text-sm text-red-600')}>
      {children}
    </span>
  );
}
