From e1aa01724f9cc3d684b963cf27dac19eee509320 Mon Sep 17 00:00:00 2001 From: ghost2023 Date: Wed, 20 May 2026 12:03:15 +0300 Subject: [PATCH 1/5] style: add components --- packages/ui-common/src/components/label.tsx | 22 +++++++++++++++++++ .../ui-common/src/components/textarea.tsx | 18 +++++++++++++++ packages/ui-common/src/index.ts | 3 ++- 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 packages/ui-common/src/components/label.tsx create mode 100644 packages/ui-common/src/components/textarea.tsx diff --git a/packages/ui-common/src/components/label.tsx b/packages/ui-common/src/components/label.tsx new file mode 100644 index 000000000..79709edc3 --- /dev/null +++ b/packages/ui-common/src/components/label.tsx @@ -0,0 +1,22 @@ +import * as React from "react" +import { Label as LabelPrimitive } from "radix-ui" + +import { cn } from "../lib/utils" + +function Label({ + className, + ...props +}: React.ComponentProps) { + return ( + + ) +} + +export { Label } diff --git a/packages/ui-common/src/components/textarea.tsx b/packages/ui-common/src/components/textarea.tsx new file mode 100644 index 000000000..d3e680bc3 --- /dev/null +++ b/packages/ui-common/src/components/textarea.tsx @@ -0,0 +1,18 @@ +import * as React from "react" + +import { cn } from "../lib/utils" + +function Textarea({ className, ...props }: React.ComponentProps<"textarea">) { + return ( +