@aveonline/ui-react 2.5.3 → 2.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -31,6 +31,8 @@ export * from './ui/molecules/Navigation';
31
31
  export * from './ui/molecules/TextArea';
32
32
  export * from './ui/molecules/Indicator/Graphic';
33
33
  export * from './ui/molecules/Indicator/Bar';
34
+ export * from './ui/molecules/Indicator/Pie';
35
+ export * from './ui/molecules/Indicator/Line';
34
36
  export * from './ui/molecules/Dropdowns/DropdownButton';
35
37
  export * from './ui/molecules/Dropdowns/DropdownSummary';
36
38
  export * from './ui/molecules/Dropdowns/DropdownUser';
@@ -0,0 +1,15 @@
1
+ import { XAxisProps } from 'recharts';
2
+ import { CurveType } from 'recharts/types/shape/Curve';
3
+ export interface ILineConfig {
4
+ dataKey: string;
5
+ stroke: string;
6
+ }
7
+ export interface IPropsLine<T> {
8
+ data: T[];
9
+ width: number;
10
+ height: number;
11
+ xaxis: XAxisProps;
12
+ type?: CurveType;
13
+ strokeDasharray?: string;
14
+ linesConfig: ILineConfig[];
15
+ }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { IPropsLine } from './ILine';
3
+ export default function Line<T>({ data, width, height, linesConfig, xaxis, type, strokeDasharray }: IPropsLine<T>): JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { default as Line } from './Line';
2
+ export * from './ILine';
@@ -0,0 +1,11 @@
1
+ export interface IPropsPie<T> {
2
+ data: T[];
3
+ width: number;
4
+ height: number;
5
+ innerRadius: number;
6
+ outerRadius: number;
7
+ cx?: number;
8
+ cy?: number;
9
+ paddingAngle?: number;
10
+ dataKey?: string;
11
+ }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { IPropsPie } from '.';
3
+ export default function Pie<T>({ data, width, height, innerRadius, outerRadius, cx, cy, paddingAngle, dataKey }: IPropsPie<T>): JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { default as Pie } from './Pie';
2
+ export * from './IPie';