"use client"; import * as React from "react"; import { cn } from "@/lib/utils"; // Ahora sí existe interface InputProps extends React.InputHTMLAttributes { label?: string; error?: string; } export const Input = React.forwardRef( ({ className, label, error, type, ...props }, ref) => { return (
{label && ( )} {error && {error}}
); } ); Input.displayName = "Input";