Skip to content

Commit

Permalink
Merge pull request #226 from BouyguesTelecom/fix/input-type
Browse files Browse the repository at this point in the history
🏷️ Fix InputTypeValues
  • Loading branch information
air-one-x authored Dec 16, 2024
2 parents 0c352b3 + fdb876d commit 4d061d5
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 4d061d5

Please sign in to comment.