Skip to content

Commit

Permalink
feat: improve documentation and clarity of react-components pkg (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
diehbria committed Feb 16, 2022
1 parent 7b0f3cf commit a1615f9
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 34 deletions.
8 changes: 5 additions & 3 deletions packages/react-components/src/components.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
/* eslint-disable */
/* tslint:disable */
import { createReactComponent } from './react-component-lib';
import { createReactComponent } from './stencil-generated';

import type { JSX } from '@iot-app-kit/components';



/**
* Manually add each component that we would like to expose as part of the react-components library.
* This will be the final API of this library.
*/
export const BarChart = /*@__PURE__*/createReactComponent<JSX.IotBarChart, HTMLIotBarChartElement>('iot-bar-chart');
export const Kpi = /*@__PURE__*/createReactComponent<JSX.IotKpi, HTMLIotKpiElement>('iot-kpi');
export const LineChart = /*@__PURE__*/createReactComponent<JSX.IotLineChart, HTMLIotLineChartElement>('iot-line-chart');
Expand Down
1 change: 0 additions & 1 deletion packages/react-components/src/components/index.ts

This file was deleted.

This file was deleted.

0 comments on commit a1615f9

Please sign in to comment.