From fdb876dec7a398094493582a20d0e23ba6d07c5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?LEGRELLE=2C=20F=C3=A9lix?= Date: Mon, 16 Dec 2024 11:42:00 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20Fix=20InputTypeValues?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/react/components/input/InputEnum.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/react/components/input/InputEnum.ts b/packages/react/components/input/InputEnum.ts index 3b03c460..c0ebb037 100644 --- a/packages/react/components/input/InputEnum.ts +++ b/packages/react/components/input/InputEnum.ts @@ -1,3 +1,5 @@ +import { HTMLInputTypeAttribute } from 'react' + /** * Input types */ @@ -11,7 +13,7 @@ export enum InputType { EMAIL = 'email', } -export type InputTypeValues = `${InputType}` +export type InputTypeValues = `${InputType}` | HTMLInputTypeAttribute export enum InputStatus { SUCCESS = 'success',