summaryrefslogtreecommitdiff
path: root/src/components/ui/textarea.tsx
diff options
context:
space:
mode:
authorl3wdfut4pwr l3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-01-31 20:33:22 +0200
committerl3wdfut4pwr l3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-01-31 20:33:22 +0200
commit9edce4dfa5f7c4efecd0f39fb4fd4a4c9863fe6e (patch)
treef975a2ba9c63d10d0c28ff206ed4a7b854f39a31 /src/components/ui/textarea.tsx
parent2eaea7a0bc84feb894f37a84110595dff76a8202 (diff)
add register and reset dialogs
Diffstat (limited to 'src/components/ui/textarea.tsx')
-rw-r--r--src/components/ui/textarea.tsx18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/components/ui/textarea.tsx b/src/components/ui/textarea.tsx
new file mode 100644
index 0000000..7f21b5e
--- /dev/null
+++ b/src/components/ui/textarea.tsx
@@ -0,0 +1,18 @@
+import * as React from "react"
+
+import { cn } from "@/lib/utils"
+
+function Textarea({ className, ...props }: React.ComponentProps<"textarea">) {
+ return (
+ <textarea
+ data-slot="textarea"
+ className={cn(
+ "border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
+ className
+ )}
+ {...props}
+ />
+ )
+}
+
+export { Textarea }