0.0.6 • Published 6 years ago

react-bokeh v0.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

react-bokeh pre v0.1.0

A Bokeh Visualization for React

Demo Site and Helper Tool

https://kind-wilson-41f501.netlify.com/

Installation

npm install react-bokeh

then import the following css files from your node modules

import '<project-directory>/node_modules/react-bokeh/src/bokeh.css';

Disclaimer:

Currently package is still currently an early work in progress. Bugs are expected and properties may be subject to change. I will do my best to update as quickly as I can.

I'm working on smoothing out any large bugs, and on a working sample.

Usage

import React from 'react';
import logo from './logo.svg';
import Bokeh from 'react-bokeh';
import '../node_modules/react-bokeh/src/bokeh.css';

import './App.css';

function App() {
    return (
        <div className="App">
            <Bokeh />
        </div>
    );
}

export default App;

Properties

Bokeh: the container component housing the bokeh

randomGenerateSettings: Settings for random bokeh generation

light: Individual Bokeh Lights