0.1.6 • Published 1 year ago

react-bonobo v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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>
    );
  }
}