typescript support
bolonio opened this issue · comments
Adrián Bolonio commented
Will you add typescript support? Thanks :)
David J. Bradshaw commented
I would except a PR with unit tests if someone would like to make it happen
David J. Bradshaw commented
This would be a good starting point from @ITJesse
https://github.com/ITJesse/iframe-resizer-react/blob/master/src/types/iframe-resizer.d.ts
Although i guess it would also need the types that are passed through to the iframe element added to it as well
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe