DefinitelyTyped/types/react-native-goby/react-native-goby-tests.tsx
Jayden Zhao fef536fb65 Add types/react-native-goby/* (#16312)
* add react-native-goby

* add react-native-goby

* add react-native-goby

* remove the Promise define of types/react-native-goby
2017-05-05 08:53:29 -07:00

24 lines
443 B
TypeScript

import * as React from 'react';
import {
View,
AppRegistry
} from 'react-native';
import Goby from "react-native-goby";
class Home extends React.Component<any, any> {
render() {
return (
<View></View>
);
}
}
AppRegistry.registerComponent('home', () => Goby({
updateDialog: false,
checkFrequency: Goby.CheckFrequency.ON_APP_RESUME,
installMode: Goby.InstallMode.IMMEDIATE
})(Home));