Skip to content

Commit

Permalink
fix(bar): add missing renderTick type to Bar's definition (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
gopeter authored and plouc committed Oct 19, 2019
1 parent 289e904 commit 61fc207
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/bar/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ declare module '@nivo/bar' {

export type Axis = Partial<{
format: string | LabelFormatter
renderTick: (data: any) => React.ReactNode
legend: string
legendOffset: number
legendPosition: 'start' | 'middle' | 'end'
Expand Down

0 comments on commit 61fc207

Please sign in to comment.