From 9d569b3e1111e7490e62518537bf13b5e2dae2ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Pot=C4=99pa?= Date: Tue, 13 Feb 2024 10:21:27 +0100 Subject: [PATCH] feat: NO-JIRA add all possible textInput types (#125) Co-authored-by: mwleklinskiVL --- src/components/TextInput/TextInputType.type.ts | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/components/TextInput/TextInputType.type.ts b/src/components/TextInput/TextInputType.type.ts index 07ca8ca5..8b0bea20 100644 --- a/src/components/TextInput/TextInputType.type.ts +++ b/src/components/TextInput/TextInputType.type.ts @@ -1,7 +1,3 @@ -export type TextInputType = - | 'text' - | 'email' - | 'password' - | 'search' - | 'tel' - | 'url'; +import { HTMLInputTypeAttribute } from 'react'; + +export type TextInputType = HTMLInputTypeAttribute;