react-native-tobrowser
Version:
Full-featured web browser module for React Native apps, based on TOWebViewController
18 lines (14 loc) • 316 B
JavaScript
/**
* @providesModule RCTBrowser
* @flow
*/
;
import React from 'react';
import { NativeModules } from 'react-native';
var Browser = NativeModules.Browser;
var RCTBrowserExport = {
open: function(url, options={}) {
Browser.presentUrl(url, options);
},
};
module.exports = RCTBrowserExport;