From 90450732153be55203c5367a92df5be1bbfa533f Mon Sep 17 00:00:00 2001 From: Khuda Dad Nomani Date: Tue, 24 Oct 2023 15:25:50 +0100 Subject: [PATCH] add area-label to form --- packages/ui/components/Form/Form.tsx | 2 +- packages/ui/components/Form/Inputs/TextArea.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/ui/components/Form/Form.tsx b/packages/ui/components/Form/Form.tsx index c71f705bf..465d95acb 100644 --- a/packages/ui/components/Form/Form.tsx +++ b/packages/ui/components/Form/Form.tsx @@ -7,7 +7,7 @@ export type FormProps = { children?: React.ReactNode } export const Form = ({ className, title, children }: FormProps) => ( - +
{title && (

diff --git a/packages/ui/components/Form/Inputs/TextArea.tsx b/packages/ui/components/Form/Inputs/TextArea.tsx index 92e0a3f4f..4e881fb02 100644 --- a/packages/ui/components/Form/Inputs/TextArea.tsx +++ b/packages/ui/components/Form/Inputs/TextArea.tsx @@ -12,6 +12,7 @@ export type TextAreaProps = { export const TextArea = ({onChange, rows, name, value, isDisabled, isResizable, placeholder, className} : TextAreaProps) => { return