@aveonline/ui-react 2.19.9 → 2.19.11

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.
@@ -4,6 +4,7 @@ interface AccordionItem {
4
4
  title?: string;
5
5
  value?: string;
6
6
  item?: string;
7
+ tooltipMessage?: string;
7
8
  }
8
9
  export interface ICarousel {
9
10
  infoItems: AccordionItem[];
@@ -22,3 +22,7 @@ export interface IPropsLine<T> {
22
22
  percentageData?: IPercentageData[];
23
23
  simbol?: string;
24
24
  }
25
+ export interface IDataWithSymbol {
26
+ name: string;
27
+ [key: string]: number | string | undefined;
28
+ }
@@ -1,5 +1,2 @@
1
- import { IPropsLine } from './ILine';
2
- export default function Line<T>({ data, width, height, linesConfig, xaxis, yaxis, type, strokeDasharray, isLoading, simbol, yAxisTickFormatter }: IPropsLine<T> & {
3
- yAxisTickFormatter?: (tick: number) => string;
4
- simbol?: string;
5
- }): JSX.Element;
1
+ import { IPropsLine, IDataWithSymbol } from './ILine';
2
+ export default function Line<T extends IDataWithSymbol>({ data, width, height, linesConfig, xaxis, yaxis, type, strokeDasharray, isLoading }: IPropsLine<T>): JSX.Element;