Skip to content

Commit

Permalink
fix(chord): provide datum to InheritedColorConfig type
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze committed Jun 29, 2021
1 parent 48373c1 commit a9f392e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/chord/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ declare module '@nivo/chord' {
arcHoverOpacity?: number
arcHoverOthersOpacity?: number
arcBorderWidth?: number
arcBorderColor?: InheritedColorConfig
arcBorderColor?: InheritedColorConfig<ArcData>
onArcMouseEnter?: ChordArcMouseHandler
onArcMouseMove?: ChordArcMouseHandler
onArcMouseLeave?: ChordArcMouseHandler
Expand All @@ -74,12 +74,12 @@ declare module '@nivo/chord' {
ribbonHoverOpacity?: number
ribbonHoverOthersOpacity?: number
ribbonBorderWidth?: number
ribbonBorderColor?: InheritedColorConfig
ribbonBorderColor?: InheritedColorConfig<RibbonData>

enableLabel?: boolean
labelOffset?: number
labelRotation?: number
labelTextColor?: InheritedColorConfig
labelTextColor?: InheritedColorConfig<ArcData>

isInteractive?: boolean

Expand Down

0 comments on commit a9f392e

Please sign in to comment.