0.2.0 • Published 6 years ago

studio-framework v0.2.0

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

Studio Framework

A React component library for building Studio apps.

Setup

$ git clone https://github.com/movableink/studio-framework.git
$ cd studio-framework
$ yarn

Important Commands

  • yarn start: serves the dummy app.
  • yarn test: runs the test suite
  • yarn build: generates a production build

Components

Currently, the only component this library exposes is the <App/>. On its own, this renders a Studio App's exported JSON as HTML with the proper attributes.

Example Usage:

const { options } = MI;
const tags = JSON.parse(document.querySelector('.mi-attributes').innerHTML);
const queryParams = CD.params();

ReactDOM.render(<App tags={tags} options={options} queryParams={queryParams}/>);

TODO:

  • Finish this README
  • Add some tests
  • Travis CI
  • Stop vendoring Cropduster
0.2.0

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago