From 5809e26593c968dc8d0fe6065a67f97c960b9c1b Mon Sep 17 00:00:00 2001 From: i701 Date: Sun, 13 Jul 2025 22:49:11 +0500 Subject: [PATCH] =?UTF-8?q?refactor:=20simplify=20FloatingInput=20and=20Te?= =?UTF-8?q?xtarea=20components=20by=20removing=20unnecessary=20forwardRef?= =?UTF-8?q?=20usage=20=F0=9F=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/input-read-only.tsx | 4 +- components/ui/alert-dialog.tsx | 221 +++++++++++++++++-------------- components/ui/floating-label.tsx | 6 +- components/ui/textarea.tsx | 12 +- 4 files changed, 126 insertions(+), 117 deletions(-) diff --git a/components/input-read-only.tsx b/components/input-read-only.tsx index 851b795..9ef8358 100644 --- a/components/input-read-only.tsx +++ b/components/input-read-only.tsx @@ -1,5 +1,5 @@ -import { cn } from '@/lib/utils'; import { CheckCheck, X } from 'lucide-react'; +import { cn } from '@/lib/utils'; export default function InputReadOnly({ label, value, labelClassName, className, showCheck = true, checkTrue = false }: { label: string; @@ -10,7 +10,7 @@ export default function InputReadOnly({ label, value, labelClassName, className, checkTrue?: boolean }) { return ( -
+