From ef1852a246edeeb188a21368259c60c27bd25bb4 Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Wed, 26 May 2021 23:44:57 +0100 Subject: [PATCH] Update input component --- src/components/Input/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Input/index.tsx b/src/components/Input/index.tsx index 51d3cd5..bcbdad7 100644 --- a/src/components/Input/index.tsx +++ b/src/components/Input/index.tsx @@ -16,7 +16,7 @@ type InputProps = { | 'white'; error?: boolean; errorMessage?: string; - value?: string; + value?: string | number; label?: string; name?: string; type?: 'text' | 'email' | 'tel' | 'password' | 'file' | 'number';