From ed59762c71f42806288867bda70198819e37384b Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Thu, 24 Feb 2022 18:19:21 -0800 Subject: [PATCH] Add value prop --- components/Fieldset/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/Fieldset/index.tsx b/components/Fieldset/index.tsx index 5b22247d..b8a98e39 100644 --- a/components/Fieldset/index.tsx +++ b/components/Fieldset/index.tsx @@ -4,6 +4,7 @@ import './index.scss' interface Props { fieldName: string placeholder: string + value?: string error: string onBlur?: (event: React.ChangeEvent) => void onChange?: (event: React.ChangeEvent) => void @@ -17,9 +18,10 @@ const Fieldset = React.forwardRef(function fieldSet(pro