From 36d82902c0432e717159d487927428131954f876 Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Thu, 22 Apr 2021 00:00:35 +0100 Subject: [PATCH] Update text area props --- src/components/TextArea/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/TextArea/index.tsx b/src/components/TextArea/index.tsx index e57d3b5..2aefcef 100644 --- a/src/components/TextArea/index.tsx +++ b/src/components/TextArea/index.tsx @@ -17,6 +17,7 @@ type TextAreaProps = { errorMessage?: string; value: string; label?: string; + name: string; placeholder?: string; fullWidth?: boolean; onChange: (event: React.ChangeEvent) => void; @@ -25,6 +26,7 @@ type TextAreaProps = { const TextArea = ({ color = 'client', label, + name, placeholder, value, onChange, @@ -50,6 +52,7 @@ const TextArea = ({