victory-chart
Version:
Chart Component for Victory
37 lines • 1.15 kB
TypeScript
import React from "react";
import { Helpers } from "victory-core";
export declare function getBackgroundWithProps(props: any, calculatedProps: any): React.DetailedReactHTMLElement<any, HTMLElement>;
export declare function getCalculatedProps(initialProps: any, childComponents: any): {
categories: {
x: any;
y: any;
};
domain: {
x: any;
y: any;
};
range: {
x: any;
y: any;
};
horizontal: any;
scale: {
x: import("victory-core").D3Scale<any>;
y: import("victory-core").D3Scale<any>;
};
stringMap: {
x: any;
y: any;
};
style: {
parent: any;
};
origin: {
x: number | Date;
y: number | Date;
};
padding: Helpers.ElementPadding;
};
export declare function getChildren(props: any, childComponents: any, calculatedProps: any): any;
export declare const getChildComponents: (props: any, defaultAxes?: any) => (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal)[];
//# sourceMappingURL=helper-methods.d.ts.map