Skip to content

Commit

Permalink
Add formatter function type to tooltip props (#2916)
Browse files Browse the repository at this point in the history
  • Loading branch information
cravend committed Jul 28, 2022
1 parent e62d0cf commit 6b3cce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/DefaultTooltipContent.tsx
Expand Up @@ -37,7 +37,7 @@ export interface Props<TValue extends ValueType, TName extends NameType> {
separator?: string;
wrapperClassName?: string;
labelClassName?: string;
formatter?: Function;
formatter?: Formatter<TValue, TName>;
contentStyle?: CSSProperties;
itemStyle?: CSSProperties;
labelStyle?: CSSProperties;
Expand Down

0 comments on commit 6b3cce4

Please sign in to comment.