Skip to content

Commit

Permalink
feat(input): add number type
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinWijnant committed Dec 13, 2020
1 parent 0fd2f00 commit 8693d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface Props {
onChange?: ChangeEventHandler<HTMLInputElement>;
onBlur?: FocusEventHandler<HTMLInputElement>;
placeholder?: string;
type?: 'text' | 'email' | 'password';
type?: 'text' | 'email' | 'password' | 'number';
spellCheck?: boolean;
autoComplete?: boolean;
maxLength?: number;
Expand Down

0 comments on commit 8693d70

Please sign in to comment.