From bc30c83dcb1a1862a2c937eda21067cd93344a36 Mon Sep 17 00:00:00 2001 From: Markus Thielker Date: Sat, 28 Dec 2024 23:10:45 +0100 Subject: [PATCH] NORY-47: add shadcn textarea component --- dashboard/src/components/ui/textarea.tsx | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 dashboard/src/components/ui/textarea.tsx diff --git a/dashboard/src/components/ui/textarea.tsx b/dashboard/src/components/ui/textarea.tsx new file mode 100644 index 0000000..fcbdc98 --- /dev/null +++ b/dashboard/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 ( +