Skip to content

Commit

Permalink
Fix onClick types in sankey chart
Browse files Browse the repository at this point in the history
  • Loading branch information
stas-demydiuk authored Feb 3, 2024
1 parent d87af09 commit 9207d86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sankey/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export interface SankeyCommonProps<N extends DefaultNode, L extends DefaultLink>
labelTextColor: InheritedColorConfig<SankeyNodeDatum<N, L>>

isInteractive: boolean
onClick: SankeyMouseHandler
onClick: SankeyMouseHandler<N, L>
nodeTooltip: FunctionComponent<{ node: SankeyNodeDatum<N, L> }>
linkTooltip: FunctionComponent<{ link: SankeyLinkDatum<N, L> }>

Expand Down

0 comments on commit 9207d86

Please sign in to comment.