Skip to content

Commit

Permalink
fix(Input): Pass 'type' prop through to input element
Browse files Browse the repository at this point in the history
  • Loading branch information
HHogg committed Jun 2, 2023
1 parent cf9dc45 commit 446c510
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions workspaces/package/src/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const Input = forwardRef<
size = 'x3',
readOnly,
tag = 'input',
type,
value,
...rest
} = props;
Expand Down Expand Up @@ -69,6 +70,7 @@ export const Input = forwardRef<
size={size}
strong
tag={tag}
type={type}
value={value}
/>
</InputWrapper>
Expand Down

0 comments on commit 446c510

Please sign in to comment.