Skip to content

Commit

Permalink
🏷️ Fix InputTypeValues
Browse files Browse the repository at this point in the history
  • Loading branch information
LEGRELLE, Félix committed Dec 16, 2024
1 parent 31ce98d commit fdb876d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/react/components/input/InputEnum.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { HTMLInputTypeAttribute } from 'react'

/**
* Input types
*/
Expand All @@ -11,7 +13,7 @@ export enum InputType {
EMAIL = 'email',
}

export type InputTypeValues = `${InputType}`
export type InputTypeValues = `${InputType}` | HTMLInputTypeAttribute

export enum InputStatus {
SUCCESS = 'success',
Expand Down

0 comments on commit fdb876d

Please sign in to comment.