From d3c9c888f0b8fb307b94ad262c73e3935d63470d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Wlekli=C5=84ski?= <114148518+mwleklinskiVL@users.noreply.github.com> Date: Tue, 13 Feb 2024 10:09:13 +0100 Subject: [PATCH] chore: NO-JIRA add all possible textInput types (#123) --- 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;