react-native-mybrowser

    1.1.2 • Public • Published

    react-native-mybrowser

    A web browser component for React Native.

    Install

    npm install react-native-mybrowser
    

    Usage

    'use strict';
     
    import React, {
      Component,
      View
    } from 'react-native';
     
    import WebBrowser from 'react-native-mybrowser';
     
    export default class ReactNativeMybrowserDemo extends Component {
        render() {
          return (
            <WebBrowser
              url='https://facebook.github.io/react-native'
              backgroundColor='rgb(50, 180, 280)'
            />
          );
        }
    }

    Required props

    props description
    url web address
    backgroundColor background color of the header and footer

    Sample

    Install

    npm i react-native-mybrowser

    DownloadsWeekly Downloads

    339

    Version

    1.1.2

    License

    MIT

    Last publish

    Collaborators

    • uraway