mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
[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:
Vendored
+5
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user