@aveonline/ui-react 2.19.2 → 2.19.4

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.
@@ -1,3 +1,3 @@
1
1
  import { ICarousel } from '../..';
2
- declare function Carousel({ infoItems }: ICarousel): JSX.Element;
2
+ declare function Carousel({ infoItems, onItemClick }: ICarousel): JSX.Element;
3
3
  export default Carousel;
@@ -3,8 +3,10 @@ interface AccordionItem {
3
3
  name?: string;
4
4
  title?: string;
5
5
  value?: string;
6
+ item?: string;
6
7
  }
7
8
  export interface ICarousel {
8
9
  infoItems: AccordionItem[];
10
+ onItemClick?: (item: AccordionItem) => void;
9
11
  }
10
12
  export {};
@@ -4,9 +4,11 @@ export interface IPropsPie<T> {
4
4
  height: number;
5
5
  innerRadius: number;
6
6
  outerRadius: number;
7
+ cornerRadius: number;
7
8
  cx?: number;
8
9
  cy?: number;
9
10
  paddingAngle?: number;
10
11
  dataKey?: string;
11
12
  isLoading?: boolean;
13
+ minValue?: number;
12
14
  }
@@ -1,2 +1,9 @@
1
1
  import { IPropsPie } from '.';
2
- export default function Pie<T>({ data, width, height, innerRadius, outerRadius, cx, cy, paddingAngle, dataKey, isLoading }: IPropsPie<T>): JSX.Element;
2
+ interface PieData {
3
+ name: string;
4
+ value: number;
5
+ }
6
+ export default function Pie<T extends PieData>({ data, width, height, innerRadius, outerRadius, cx, cy, paddingAngle, cornerRadius, dataKey, isLoading, minValue }: IPropsPie<T> & {
7
+ minValue?: number;
8
+ }): JSX.Element;
9
+ export {};