Skip to content

Commit 61fc207

Browse files
gopeterplouc
authored andcommitted
fix(bar): add missing renderTick type to Bar's definition (#697)
1 parent 289e904 commit 61fc207

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/bar/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ declare module '@nivo/bar' {
128128

129129
export type Axis = Partial<{
130130
format: string | LabelFormatter
131+
renderTick: (data: any) => React.ReactNode
131132
legend: string
132133
legendOffset: number
133134
legendPosition: 'start' | 'middle' | 'end'

0 commit comments

Comments
 (0)