From 2528b7c792a236d82bef8ad79c08914b2c83765e Mon Sep 17 00:00:00 2001 From: eclairjit Date: Sun, 31 May 2026 00:31:15 +0530 Subject: [PATCH 1/7] feat: add reusable Textarea component --- src/components/ui/Textarea.tsx | 27 +++++++++++++++++++++++++++ src/components/ui/index.tsx | 26 ++++++++++++++------------ 2 files changed, 41 insertions(+), 12 deletions(-) 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 00000000..1663d9ae --- /dev/null +++ b/src/components/ui/Textarea.tsx @@ -0,0 +1,27 @@ +import * as React from "react"; +import { cn } from "../../lib/utils"; + +export interface TextareaProps extends React.TextareaHTMLAttributes {} + +const Textarea = React.forwardRef( + ({ className, ...props }, ref) => { + return ( +