leap-aui-react-native
v1.0.0-alpha4
Published
`$ npm install leap-aui-react-native --save`
Downloads
2
Readme
leap-aui-react-native
Getting started
$ npm install leap-aui-react-native --save
Initialisation
To initialize Leap add the following inside componentDidMount() {}
in your App.js
import LeapAUIReactNative from 'leap-aui-react-native';
export class App extends React.Component {
componentDidMount() {
Platform.select({
android: () => LeapAUIReactNative.start('ANDROID_API_KEY'),
})()
}
}