/** * Copyright (c) ACT, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import { TooltipProps } from 'recharts'; import { ValueType, NameType, Payload } from 'recharts/types/component/DefaultTooltipContent'; import { DataProps } from '../types'; export interface CustomToolTipProps extends TooltipProps { barId?: string; data?: DataProps[]; formatLabel?: (label: unknown, dataKey: unknown, payload?: Payload[], data?: DataProps[]) => React.ReactElement | string | null; formatValue?: (value: unknown, payload?: Payload[]) => unknown; formatValueLabel?: (label: unknown, dataKey: unknown, payload?: Payload[]) => React.ReactElement | string | null; renderAdditionalInfo?: (barId: string | undefined, payload: Payload[], data?: DataProps[], tooltipLabel?: unknown) => React.ReactElement | React.ReactElement[] | null; showValue?: boolean; tooltipColor?: string; valueLabel?: string; } export declare const CustomTooltip: React.FC; export default CustomTooltip; //# sourceMappingURL=index.d.ts.map