react-native-rainbow-module
TypeScript icon, indicating that this package has built-in type declarations

1.8.0 • Public • Published

Rainbow SDK for React Native

Welcome to the Rainbow SDK for React Native! This React Native SDK library was built in Typescript and we published it as a Node.js package. Since our library is written with TypeScript, it would be nice to have access to our package from TypeScript and JavaScript projects alike. so we used a React Native library builder called bob, which is a simple CLI to scaffold and build React Native libraries for different targets. bob also provides simple example modules for Android and iOS which you can build upon.

Get Started

Installation

Follow these instructions to install Rainbow SDK for React Native!

Usage

Start using the components or try it by running the sample app You can find it in the example project we provided in the SDK repository example link

import React, { Component } from 'react';
import { Invitations, Logger } from 'react-native-rainbow-module';
const logger = new Logger('InvitationsComponent');
export class InvitationsComponent extends Component {
    constructor(props: any) {
        super(props);
    }
    public render() {
        logger.info('has rendered: InvitationsComponent');
        return (
            <Invitations />
        );
    }
}

Components included:

Demo App

Checkout the official React Native Rainbow App on Github repo which uses all of the Rainbow React Native components.

Documentation

View the full docs here on Rainbow API Hub

Package Sidebar

Install

npm i react-native-rainbow-module

Weekly Downloads

14

Version

1.8.0

License

MIT

Unpacked Size

43.3 MB

Total Files

987

Last publish

Collaborators

  • hghanim
  • dtubaileh
  • maali