keen-react-dashboards

1.0.4 • Public • Published

Keen dashboard builder react component

Slack

Install with NPM

npm install keen-react-dashboards --save

Usage

Use this component to use dashboard builder on Your website. All the configuration properties could be passed in props.

Example

import React from 'react';
import ReactDOM from 'react-dom';
import Dashboards from 'keen-react-dashboards';
 
const App = () => {
  return (
    <Dashboards
      container="#app" //required
      keenAnalysis={{
        config: {
          projectId: 'YOUR_PROJECT_ID',
          masterKey: 'YOUR_MASTER_KEY',
          protocol: 'https',
          host: 'api.keen.io'
        }
      }}
    />
  );
};
 
ReactDOM.render(<App />, document.getElementById('app'));

Package Sidebar

Install

npm i keen-react-dashboards

Homepage

keen.io

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

5.87 MB

Total Files

8

Last publish

Collaborators

  • dariusz.lacheta