import * as React from "react"; import { cn } from "@/lib/utils"; // eslint-disable-next-lineexport interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {} const Input = React.forwardRef<HTMLInputElement, InputProps>( ({ className, type, ...props }, ref) => { return ( <input type={type} className={cn( "flex h-9 w-full border border-gray-500 bg-transparent px-3 py-1 text-sm outline-none", className, )} ref={ref} {...props} /> ); },);Input.displayName = "Input"; export { Input };
import * as React from "react";
import { cn } from "@/lib/utils";
// eslint-disable-next-line
export interface InputProps
extends React.InputHTMLAttributes<HTMLInputElement> {}
const Input = React.forwardRef<HTMLInputElement, InputProps>(
({ className, type, ...props }, ref) => {
return (
<input
type={type}
className={cn(
"flex h-9 w-full border border-gray-500 bg-transparent px-3 py-1 text-sm outline-none",
className,
)}
ref={ref}
{...props}
/>
);
},
);
Input.displayName = "Input";
export { Input };