import React from 'react'; import { cn } from '@/lib/utils'; interface AuthInputProps extends React.InputHTMLAttributes { error?: string; label?: string; } export function AuthInput({ error, label, className, id, ...props }: AuthInputProps) { const inputId = id || `auth-input-${Math.random().toString(36).substr(2, 9)}`; return (
{label && ( )} {error && ( )}
); }