reporting-sdk-demo

1.8.3 • Public • Published

reporting-sdk-demo

GitHub package.json version npm (tag) install size

Reporting SDK Demo as NPM package

Install

$ npm i -S reporting-sdk-demo

Usage

Import Dashboard component where you want to use it:

import Dashboard from "reporting-sdk-demo";

Then just render it:

<Dashboard />

Props

Prop Description Default value
color Sets background color blue
width Sets width 100
height Sets height 100
text Sets inner text empty string

Example

import React, { Component } from "react";
import Dashboard from "reporting-sdk-demo";

class App extends Component {
  render() {
    return (
        <Dashboard height={150} color="red" text="Hello World!" />
    );
  }
}

export default App;

Readme

Keywords

Package Sidebar

Install

npm i reporting-sdk-demo

Weekly Downloads

4

Version

1.8.3

License

ISC

Unpacked Size

74.7 kB

Total Files

6

Last publish

Collaborators

  • herbowicz