bluerain-platform-react-native
  • bluerain-platform-react-native
  • Contributor Covenant Code of Conduct
  • CONTRIBUTING
Powered by GitBook
On this page
  • Installation
  • Utils
  • Components
  • APIs
  • ReactNativePlugin
  • Extends Plugin
  • Properties

bluerain-platform-react-native

NextContributor Covenant Code of Conduct

Last updated 6 years ago

It is used to provide react-native components and APis for your native App using .

Installation

Run the following command in the plugin directoy:

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

Utils

It is used to render MainView of App

import BR from '@blueeast/bluerain-os';
import RN from 'react-native';
BR.Utils.setMainView=(App) => {
    RN.AppRegistry.registerComponent('MyApp', () => App)
    RN.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:

  • ActivityIndicator

  • Button

  • Checkbox

  • Image

  • KeyboardAvoidingView

  • Flatlist

  • ListView

  • Picker

  • Modal

  • ProgressBar

  • RefreshControl

  • SafeAreaView

  • ScrollView

  • SectionList

  • Slider

  • StatusBar

  • Switch

  • Text

  • TextInput

  • Touchable

  • View

APIs

ReactNativePlugin

ReactNative Plugin

Properties

Clipboard

Platform

AppState

Dimensions

Linking

NetInfo

Stylesheet

Extends

pluginName "ReactNative"

slug "react-native"

react-native
https://blueeast.gitbook.io/bluerain-platform-react-native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Native
Plugin
string
string