import type { HTMLAttributes } from 'react';
import { cn } from '@/lib/utils';
import { useTempoUi } from '@/components/tempo-brand';
export default function InputError({
message,
className = '',
...props
}: HTMLAttributes & { message?: string }) {
const { t } = useTempoUi();
return message ? (
{t(message)}
) : null;
}