From eb04955276cae3ff1c8b80e2c0cb11ac64c1ff22 Mon Sep 17 00:00:00 2001 From: Dave Date: Wed, 12 Jun 2019 14:53:28 -0400 Subject: [PATCH] [victory] Updated VictoryArea to have a `labels` prop (#36147) See: https://formidable.com/open-source/victory/docs/victory-area#labels --- types/victory/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/victory/index.d.ts b/types/victory/index.d.ts index 99303e0060..0f1adf18a1 100644 --- a/types/victory/index.d.ts +++ b/types/victory/index.d.ts @@ -1184,6 +1184,11 @@ declare module "victory" { * @default "linear" */ interpolation?: InterpolationPropType; + /** + * The labels prop defines the labels that will appear above each point. + * This prop should be given as an array or as a function of data. + */ + labels?: string[] | number[] | Function; /** * The samples prop specifies how many individual points to plot when plotting * y as a function of x. Samples is ignored if x props are provided instead.