From 6a4855086eafb0e5c099b6df7c6e2f240811382e Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Mon, 17 Mar 2025 17:57:20 +0800 Subject: [PATCH] feat(component/ui): add Textarea component from shadcn/ui --- src/components/ui/textarea.tsx | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/components/ui/textarea.tsx diff --git a/src/components/ui/textarea.tsx b/src/components/ui/textarea.tsx new file mode 100644 index 0000000..e56b0af --- /dev/null +++ b/src/components/ui/textarea.tsx @@ -0,0 +1,22 @@ +import * as React from "react" + +import { cn } from "@/lib/utils" + +const Textarea = React.forwardRef< + HTMLTextAreaElement, + React.ComponentProps<"textarea"> +>(({ className, ...props }, ref) => { + return ( +