victory-errorbar 36.5.2 → 36.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/index.d.ts DELETED
@@ -1,50 +0,0 @@
1
- import * as React from "react";
2
- import {
3
- EventPropTypeInterface,
4
- StringOrNumberOrCallback,
5
- StringOrNumberOrList,
6
- VictoryDatableProps,
7
- VictoryCommonProps,
8
- VictoryCommonPrimitiveProps,
9
- VictoryLabelableProps,
10
- VictoryMultiLabelableProps,
11
- VictoryStyleInterface,
12
- } from "victory-core";
13
-
14
- export type VictoryErrorBarTTargetType = "data" | "labels" | "parent";
15
- export type ErrorType =
16
- | StringOrNumberOrList
17
- | ((...args: any[]) => StringOrNumberOrList);
18
-
19
- export interface VictoryErrorBarProps
20
- extends Omit<VictoryCommonProps, "polar">,
21
- VictoryDatableProps,
22
- VictoryLabelableProps,
23
- VictoryMultiLabelableProps {
24
- borderWidth?: number;
25
- errorX?: ErrorType;
26
- errorY?: ErrorType;
27
- events?: EventPropTypeInterface<
28
- VictoryErrorBarTTargetType,
29
- StringOrNumberOrCallback
30
- >[];
31
- style?: VictoryStyleInterface;
32
- }
33
-
34
- export class VictoryErrorBar extends React.Component<
35
- VictoryErrorBarProps,
36
- any
37
- > {}
38
-
39
- export interface ErrorBarProps extends VictoryCommonPrimitiveProps {
40
- borderWidth?: number;
41
- datum?: any;
42
- errorX?: number | any[] | boolean;
43
- errorY?: number | any[] | boolean;
44
- groupComponent?: React.ReactElement;
45
- lineComponent?: React.ReactElement;
46
- x?: number;
47
- y?: number;
48
- }
49
-
50
- export class ErrorBar extends React.Component<ErrorBarProps, any> {}
package/src/index.js DELETED
@@ -1,2 +0,0 @@
1
- export { default as VictoryErrorBar } from "./victory-errorbar";
2
- export { default as ErrorBar } from "./error-bar";