Skip to content

DevelopmentOnTheEdge/beanexplorer-react

Repository files navigation

beanexplorer-react

React component for BeanExplorer beans, serialized in beans-json

NPM Version Build Status dependencies Status Coverage Status tested with jest

Demo & Examples

Live demo: https://developmentontheedge.github.io/beanexplorer-react/

Installation

$ npm install --save beanexplorer-react

Usage

import PropertySet from 'beanexplorer-react';

import 'react-datetime/css/react-datetime.css';

render() {
  const bean = {
      "values": {
          "name": "",
      },
      "meta": {
          "/name": {"displayName": "Name"},
      },
      "order": [
          "/name",
      ]
  };
  <PropertySet bean={bean} onChange={this.handleChange}/>
}

Development

Install dependencies:

$ npm install

Run the example app at http://127.0.0.1:8887/beanexplorer-react/

$ npm start

Run tests

$ npm test
$ npm run watch

Build example or library:

$ npm run example
$ npm run lib

Deploy

sh build.sh
npm run up

About

React component for BeanExplorer beans

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages