File size: 321 Bytes
c0ec0db | 1 2 3 4 5 6 7 8 9 10 11 12 13 | import React from "react";
export const Input = React.forwardRef(({ className = "", ...props }, ref) => {
return (
<input
ref={ref}
className={`w-full h-10 rounded-xl border px-3 outline-none focus:ring-2 focus:ring-black/20 ${className}`}
{...props}
/>
);
});
Input.displayName = "Input";
|