An interesting feature would be to export some of the built-in types from the library so that they can be used to type the component's built-in methods.
In this example I had to redeclare the types again inside the component file so I could use them in my getMask function
An interesting feature would be to export some of the built-in types from the library so that they can be used to type the component's built-in methods.
In this example I had to redeclare the types again inside the component file so I could use them in my
getMask
functionMy custom component use: