Closed jdmunro closed 4 years ago
Hi @jdmunro, thank you for the PR it is a good one and looks good to me. Can you also document this to README.md ?
Sure @ardaogulcan - I've added a few lines to show how to use the feature. Thanks for building the library 🎉
Released with v0.1.11
This PR is a simple change that enables you to pass a render prop to
KeyboardAccessoryView
.I've found in multiple applications that it's really convenient to be able to render different views depending on whether the keyboard is visible or not. By using a render prop it allows us a really convenient way to do this, without having to subscribe to any events.
e.g:
Since this is optional, it is a non-breaking change.