From 3d7c3db9af2a321da5eb23134f9841579656d5d3 Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Fri, 21 May 2021 22:41:45 +0100 Subject: [PATCH] Update input component --- src/components/Input/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Input/index.tsx b/src/components/Input/index.tsx index 2f4bcdf..51d3cd5 100644 --- a/src/components/Input/index.tsx +++ b/src/components/Input/index.tsx @@ -16,9 +16,9 @@ type InputProps = { | 'white'; error?: boolean; errorMessage?: string; - value: string; + value?: string; label?: string; - name: string; + name?: string; type?: 'text' | 'email' | 'tel' | 'password' | 'file' | 'number'; placeholder?: string; fullWidth?: boolean;