1.1.2 • Published 6 years ago

@blueeast/bluerain-platform-react-native-web v1.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

bluerain-platform-react-native-web

It is used to provide react-native components and APis to your web App using react-native-web. https://blueeast.gitbook.io/bluerain-platform-react-native-web

🌏 Web🖥 Electron📱 React Native
✔️✔️✖️

Installation

Run the following command in the plugin directoy:

yarn add  @blueeast/bluerain-platform-react-native-web

Utils

It is used to render MainView of App

import BR from '@blueeast/bluerain-os';
BR.Utils.setMainView=(App) => {
    RNB.AppRegistry.registerComponent('MyApp', () => App)
    RNB.AppRegistry.runApplication('MyApp', { rootTag: document.getElementsByClassName('app-container') });
}

Components

This plugin registers following components in the Component registry, so they can be reused later by other apps and plugins: react-native-web

  • ActivityIndicator
  • Button
  • Checkbox
  • Image
  • KeyboardAvoidingView
  • Flatlist
  • ListView
  • Picker
  • Modal
  • ProgressBar
  • RefreshControl
  • SafeAreaView
  • ScrollView
  • SectionList
  • Slider
  • StaticContainer
  • StaticRenderer
  • StatusBar
  • Switch
  • Text
  • TextInput
  • Touchable
  • UnimplementedView
  • View
  • VirutalizedList

APIs

react-native-web

  • Clipboard
  • Platform
  • AppState
  • Dimensions
  • Linking
  • NetInfo
  • Stylesheet

ReactNativeWebPlugin

Extends Plugin

ReactNativeWeb Plugin

Properties

  • pluginName string "ReactNativeWeb"
  • slug string "react-native-web"
1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago