ensdomains / thorin

A web3 native design system.
https://thorin.pages.dev
MIT License
83 stars 21 forks source link

Input tag does not support type="number" #116

Open amncjf opened 1 year ago

amncjf commented 1 year ago

Is there an existing issue for this?

Package Version

0.6.35

Current Behavior

Input tag does not support type="number",

In the file components\src\components\molecules\Input\Input.tsx Add: type WithTypeNumber = { type?: 'number' }

modifiy -type Props = BaseProps & (WithTypeEmail | WithTypeText | WithTypeDateTimeLocal) +type Props = BaseProps & (WithTypeNumber | WithTypeEmail | WithTypeText | WithTypeDateTimeLocal) That's it

Expected Behavior

No response

Steps To Reproduce

No response

Anything else?

No response