reporting-sdk-demo
v1.8.3
Published
reporting sdk demo
Readme
reporting-sdk-demo
Reporting SDK Demo as NPM package
Install
$ npm i -S reporting-sdk-demoUsage
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;