Name: victory-native-demo
Owner: Formidable
Description: Demo victory-native
Created: 2017-04-27 11:01:23.0
Updated: 2018-01-02 01:07:29.0
Pushed: 2017-07-14 13:22:43.0
Homepage: null
Size: 78
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Demos the victory-native library for React Native.
clone https://github.com/FormidableLabs/victory-native-demo
ictory-native-demo
install
To make the demo easy to use, it uses the Expo. You can either download the app (it's free!) to test on a real device, or run on a simulator.
npm start
(requires Expo app)Runs the demo in development mode.
Open it in the Expo app on your phone to view it. It will reload when you modify files, and you'll see any logs and errors in the terminal.
npm run ios
(requires iOS simulator)Like npm start
, but also attempts to open the demo in the iOS Simulator if you're on a Mac and have it installed.
npm run android
(requires Android emulator)Like npm start
, but also attempts to open the demo on a connected Android device or emulator. Requires an installation of Android build tools (see React Native docs for detailed setup).