More importantly, the user can provide their own UI items as props. The imported UI items can be provided to the Player and Recorder as props. This lack of linking maintains the package’s safety to use with Expo.Īdditionally, all UI (buttons, badges, etc) has been pulled out of the actually Player and Recorder components and are available as imports. I chose this new name to emphasize that it includes separate Recorder and Player components vice just a single SoundRecorder component, and that the package does not require linking to native code. The package is now called react-audio-player-recorder-no-linking. Now that I have learned more about using React Native and creating friendlier NPM packages, I’ve made some significant updates to the package detailed in this article.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |