eduardoborges / use-mask-input

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

feat: update mask type to match the avaliable types. #88

Closed LucasTravessa closed 1 month ago

LucasTravessa commented 1 month ago

What is?

The reason that I created this PR is that I was not getting any intellisense when I wanted to use some pre-existing types like CNPJ, as the image below shows. So, I added all existing types to the Mask type.

Evidences

image

eduardoborges commented 1 month ago

Hey @LucasTravessa! Thanks for your contribuition.

Can you provide evidences for your PR? And a small description?

LucasTravessa commented 1 month ago

The reason that I created this PR is that I was not getting any intellisense when I wanted to use some pre-existing types like CNPJ, as the image below shows. So, I added all existing types to the Mask type. image

eduardoborges commented 1 month ago

@LucasTravessa Thanks!

eduardoborges commented 1 month ago

:tada: This PR is included in version 3.4.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: