/** * @fileOverview Default Tooltip Content */ import React, { CSSProperties, ReactNode } from 'react'; export type TooltipType = 'none'; export type ValueType = number | string | Array; export type NameType = number | string; export type Formatter = (value: TValue, name: TName, item: Payload, index: number, payload: Array>) => [React.ReactNode, TName] | React.ReactNode; export interface Payload { type?: TooltipType; color?: string; formatter?: Formatter; name?: TName; value?: TValue; unit?: ReactNode; dataKey?: string | number; payload?: any; chartType?: string; stroke?: string; strokeDasharray?: string | number; strokeWidth?: number | string; className?: string; hide?: boolean; } export interface Props { separator?: string; wrapperClassName?: string; labelClassName?: string; formatter?: Formatter; contentStyle?: CSSProperties; itemStyle?: CSSProperties; labelStyle?: CSSProperties; labelFormatter?: (label: any, payload: Array>) => ReactNode; label?: any; payload?: Array>; itemSorter?: (item: Payload) => number | string; accessibilityLayer?: boolean; } export declare const DefaultTooltipContent: (props: Props) => React.JSX.Element;