@vizzly/dashboard 0.15.0-dev-9c2753f2944feccf9be062635a5a86838c409695 → 0.15.0-dev-102c700845ba053e6f6dd297f822cde47b7f06b2

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,9 +1,11 @@
1
1
  /// <reference types="react" />
2
- export declare const ChartWrapper: (props: {
2
+ declare type ChartWrapperProps = {
3
3
  children: React.ReactNode;
4
4
  width: number;
5
5
  height: number;
6
6
  showLegend: boolean;
7
7
  onMouseMove?: React.MouseEventHandler<SVGSVGElement>;
8
8
  onMouseLeave?: React.MouseEventHandler<SVGSVGElement>;
9
- }) => JSX.Element;
9
+ } & React.SVGProps<SVGSVGElement>;
10
+ export declare const ChartWrapper: ({ children, width, height, showLegend, onMouseMove, onMouseLeave, ...svgProps }: ChartWrapperProps) => JSX.Element;
11
+ export {};
@@ -22,6 +22,7 @@ interface TooltipProps<T> {
22
22
  visibleYKeys: string[];
23
23
  }[];
24
24
  theme: CSSProperties;
25
+ shouldShowColorLegend?: boolean;
25
26
  }
26
- export declare const Tooltip: ({ keys, showRoundedTotal, tooltipData, tooltipLeft, tooltipTop, xKey, yKeys, theme, items, }: TooltipProps<LineStyles | BarStyles | AreaStyles | BubbleStyles>) => React.ReactPortal;
27
+ export declare const Tooltip: ({ keys, showRoundedTotal, tooltipData, tooltipLeft, tooltipTop, xKey, yKeys, theme, items, shouldShowColorLegend, }: TooltipProps<LineStyles | BarStyles | AreaStyles | BubbleStyles>) => React.ReactPortal;
27
28
  export {};