Jensin commited on
Commit
6974bc6
·
verified ·
1 Parent(s): 2231a4d

Upload components/ui/textarea.jsx with huggingface_hub

Browse files
Files changed (1) hide show
  1. components/ui/textarea.jsx +18 -0
components/ui/textarea.jsx ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import * as React from "react"
2
+ import { cn } from "@/lib/utils"
3
+
4
+ const Textarea = React.forwardRef(({ className, ...props }, ref) => {
5
+ return (
6
+ <textarea
7
+ className={cn(
8
+ "flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
9
+ className
10
+ )}
11
+ ref={ref}
12
+ {...props}
13
+ />
14
+ )
15
+ })
16
+ Textarea.displayName = "Textarea"
17
+
18
+ export { Textarea }