Skip to content

Commit

Permalink
fix(core): add missing crosshair definitions to theme (#915)
Browse files Browse the repository at this point in the history
Co-authored-by: Vladimir Strukelj <vladimir.strukelj@keylinx.se>
  • Loading branch information
vladdes and Vladimir Strukelj committed May 10, 2020
1 parent 81d8fa0 commit 211d76d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/core/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ declare module '@nivo/core' {
}

export type Theme = Partial<{
crosshair: Partial<{
line: Partial<{
stroke: string,
strokeWidth: number,
strokeOpacity: number,
strokeDasharray: string
}>
}>
background: string
axis: Partial<{
domain: Partial<{
Expand Down

0 comments on commit 211d76d

Please sign in to comment.