Get rn-placeholder
on your computer by cloning this repo :
$ git clone https://github.com/mfrachet/rn-placeholder
$ cd rn-placeholder
If you're familliar with Expo, you can take a look at the rn-placeholder-demo app.
You can also scan the following QR using Expo app :
If you're currently using Expo XDE, simply open ./ExampleExpo
inside of it, and share your project as usual (don't forget to npm install
).
If you're currently using create-react-native-app
$ cd ExampleExpo
$ npm install
$ npm start
And then scan the QR inside of the Expo app
If you're currently using react-native-cli
, inside of rn-placeholder
root folder :
$ cd Example
$ npm install
$ react-native run-ios
$ react-native run-android
Example with react-native-web
$ cd ExampleWeb
$ npm install
$ npm start