I have a React Native project (created with react-native init myProject
), implementing a Swift Bridge, in order to get UIViews and methods from a Swift Library. I followed this tutorial to achieve this.Everyhing work fines, and I can use this Swift Lib into my React Native views.
But now I would like to convert this RN project into a reusable component, using NPM module.
I have read a lot of tutorials, and I am lost.
I read about react-native-create-library
and react-native-create-bridge
, but I understood that it is useless for me as I already create my bridge manually...
Can't I just create my npm module from this same project I was working on ?
Sorry for my confused question, thanks for the help!