eduardoborges / use-mask-input

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

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

Closed LucasTravessa closed 4 months ago

LucasTravessa commented 4 months 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 4 months ago

Hey @LucasTravessa! Thanks for your contribuition.

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

LucasTravessa commented 4 months 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 4 months ago

@LucasTravessa Thanks!

eduardoborges commented 4 months ago

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

The release is available on:

Your semantic-release bot :package::rocket: