@blueeast/bluerain-platform-react-native
TypeScript icon, indicating that this package has built-in type declarations

1.1.7 • Public • Published

bluerain-platform-react-native

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

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:

APIs

ReactNativePlugin

Extends Plugin

ReactNative Plugin

Properties

  • pluginName string "ReactNative"
  • slug string "react-native"

Readme

Keywords

none

Package Sidebar

Install

npm i @blueeast/bluerain-platform-react-native

Weekly Downloads

0

Version

1.1.7

License

MIT

Unpacked Size

67 kB

Total Files

89

Last publish

Collaborators

  • bluebase-release-bot
  • abubakarsaddique
  • artalat