eduardoborges / use-mask-input

✏️ A react Hook for build elegant input masks. Compatible with React Hook Form
https://npmjs.com/package/use-mask-input
333 stars 19 forks source link

Unnecessary dependency (react-hook-form)? #10

Closed RickCardoso closed 1 year ago

RickCardoso commented 1 year ago

From what I saw on withHookFormMask.ts, react-hook-form is only used for the types. If that is so, can't we convert the dependency to a devDependency?

Let me know if I missed anything!

https://github.com/eduardoborges/use-mask-input/blob/d0eefceeb238e5f90376a743ca4607a21f63082a/package.json#L33

eduardoborges commented 1 year ago

Fixed in #13