From c249df83b2ff46d0b3c2f92b292f381cf52cea0b Mon Sep 17 00:00:00 2001 From: Lauri Maasola Date: Fri, 6 Sep 2019 22:12:39 +0300 Subject: [PATCH] fix(line): add missing pointSymbol prop to typings --- packages/line/index.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/line/index.d.ts b/packages/line/index.d.ts index 1852e0432..6f21777bd 100644 --- a/packages/line/index.d.ts +++ b/packages/line/index.d.ts @@ -107,6 +107,14 @@ declare module '@nivo/line' { } export type SliceTooltip = React.FunctionComponent + export interface PointSymbolProps { + borderColor: string + borderWidth: number + color: string + datum: Datum + size: number + } + export interface LineProps { data: Serie[] @@ -143,6 +151,7 @@ declare module '@nivo/line' { gridYValues?: number | number[] | string[] | Date[] enablePoints?: boolean + pointSymbol?: (props: Readonly) => React.ReactNode pointSize?: number pointColor?: any pointBorderWidth?: number