douglasjunior / react-native-keyboard-manager

⚛ Library to prevent issues of keyboard sliding up and cover inputs on React-Native iOS projects.
https://www.npmjs.com/package/react-native-keyboard-manager
MIT License
970 stars 59 forks source link

Add type for PreviousNextView #75

Closed rpadilla6 closed 1 year ago

rpadilla6 commented 3 years ago

Hi there! Wanted to say thanks for making this, it's very helpful. Thanks for adding types for the main exported Keyboard manager, that does make my life a lot easier. Wanted to bring up PreviousNextView as a nice-to-have for a type as well, as currently typescript complains about no such exported member. I'm running a ts-ignore for now, but wanted to at least raise awareness of it. If I have a moment to make it myself I'll come back and submit a PR.

douglasjunior commented 1 year ago

Could you please test with this version with types improved?

yarn add react-native-keyboard-manager@https://github.com/douglasjunior/react-native-keyboard-manager#improve-types
lodev09 commented 1 year ago

I can confirm that the PR solves this issue. can someone merge and release please?

douglasjunior commented 1 year ago

Done!