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