Replies: 1 comment 1 reply
-
|
@viveleroi hi, i see all types is released https://unpkg.com/react-imask@7.3.0/esm/index.d.ts |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've wrapped this component so it works like any of our other input components but am struggling to figure out how to properly extend the types. Normally I can just use
type FooInputProps = LibComponentProps & {...}but no matter what I try I can't get things likelazyandoverwriteetc to show as valid properties, yet they work fine when I use the actual IMaskInput component.react-imask 7.3.0
Any tips? I'm not sure why the input.d.ts file doesn't remotely match what I see here in github, maybe an unreleased update? I just need to allow my component to accept any props the IMaskInput component does.
Beta Was this translation helpful? Give feedback.
All reactions