[victory] Updated VictoryArea to have a labels prop (#36147)

See: https://formidable.com/open-source/victory/docs/victory-area#labels
This commit is contained in:
Dave
2019-06-12 11:53:28 -07:00
committed by Ron Buckton
parent 8be2237ba3
commit eb04955276
+5
View File
@@ -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.