1.0.0 • Published 4 years ago
ui-charts v1.0.0
ui-charts
Common charting library for Adara UI
Install
npm i --save ui-charts
Usage
import React, { useState } from 'react';
import { SomeChart } from 'ui-charts';
const MyComponent = (props) => {
return (
<>
<SomeChart
metric={metric}
loading={loadingInsights}
data={insightsData}
otherProp={someOtherProp}
/>
</>
);
};
License
ISC ©
Editing
Ensure that new charts follow the same exporting format as those in this library.
exports.SomeChart = SomeChart;
run npm i
to install + build.
Ensure that npm run build
has been run prior to deploying to private npm package.
1.0.0
4 years ago