Updated UI Component

This commit is contained in:
Tola Leng
2025-05-23 20:37:59 +08:00
parent 462b6d6d40
commit b4bef67220
3 changed files with 7 additions and 4 deletions
+3 -2
View File
@@ -1,3 +1,4 @@
import * as React from "react"
import { cn } from "@/lib/utils"
@@ -10,7 +11,7 @@ const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
return (
<textarea
className={cn(
"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",
"flex min-h-20 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",
className
)}
ref={ref}
@@ -21,4 +22,4 @@ const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
)
Textarea.displayName = "Textarea"
export { Textarea }
export { Textarea }