npm.io
0.1.6 • Published 3 years ago

react-bonobo

Licence
MIT
Version
0.1.6
Deps
1
Size
345 kB
Vulns
0
Weekly
0

React Bonobo

React Renderer to build UI interfaces using Canvas/WebGL

API Usage

Installation

using NPM or Yarn
# NPM
npm install react-bonobo

# Yarn
yarn add react-bonobo
React Bonobo's API usage example
import React, { Component } from 'react';
import { Text, View } from 'react-bonobo';

class ReactBonoboComponent extends Component {
  render() {
    return (
      <View>
        <Text>
          Render this text on Canvas
        </Text>
        <Text>
          You just use React Bonobo components like 'View' and 'Text',
          just like React Native.
        </Text>
      </View>
    );
  }
}

Keywords