Skip to content

Commit

Permalink
feat: add 'date' type to input (#41)
Browse files Browse the repository at this point in the history
* add date input

* add more input types
  • Loading branch information
nikk15 authored Oct 23, 2023
1 parent a14e3a3 commit 1a9399f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/components/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,17 @@ export type InputInterfaceT = {
isDirty: Function;
};

export type InputT = 'text' | 'password' | 'email' | 'number' | 'tel' | 'time';
export type InputT =
| 'text'
| 'password'
| 'email'
| 'number'
| 'tel'
| 'time'
| 'date'
| 'search'
| 'url'
| 'datetime-local';

export type InputIconColorT = 'success' | 'error' | 'default';

Expand Down

0 comments on commit 1a9399f

Please sign in to comment.