Skip to content

Commit

Permalink
fix(radar): Add return type of GridLabelCustomFunction (#1045)
Browse files Browse the repository at this point in the history
Co-authored-by: HONGMOK KIM <kimhongmok@fkc.co.kr>
  • Loading branch information
Hongmokee and FKC-HongmokKim authored Jul 3, 2020
1 parent f967380 commit f87be93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/radar/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { LegendProps } from '@nivo/legends'

declare module '@nivo/radar' {
type IndexByCustomFunctiono<D = any> = (datum: D) => string | number
type GridLabelCustomFunction = (...args: any[]) => string
type GridLabelCustomFunction = (...args: any[]) => string | JSX.Element
type CustomDotSymbol = (...args: any[]) => React.ReactNode
type CustomDotLabel = (...args: any[]) => React.ReactNode
type CustomFormatter = (...args: any[]) => React.ReactNode
Expand Down

0 comments on commit f87be93

Please sign in to comment.