I am developing a button ui package for react native. I try to build an example project to test this button. The directory structure is as follows:
my-button
For those still looking for a simple solution without other dependency, try this:
yarn --version
1.21.1
npm --version
6.13.4
cd my-button
yarn install or npm install
yarn link or npm link
cd example
yarn add ../ or npm add ../
yarn link my-button or npm link my-button
cd ios
pod install