react-native-wagmi-charts
Version:
A sweet candlestick chart for React Native
43 lines (42 loc) • 978 B
TypeScript
import React from 'react';
import * as d3Shape from 'd3-shape';
import { ViewProps } from 'react-native';
import { Path } from 'react-native-redash';
export declare const LineChartDimensionsContext: React.Context<{
width: number;
height: number;
pointWidth: number;
parsedPath: Path;
path: string;
area: string;
shape: d3Shape.CurveFactory;
gutter: number;
pathWidth: number;
}>;
type LineChartProps = ViewProps & {
children: React.ReactNode;
yGutter?: number;
width?: number;
height?: number;
shape?: unknown;
/**
* If your `LineChart.Provider` uses a dictionary with multiple IDs for multiple paths, then this field is required.
*/
id?: string;
absolute?: boolean;
};
export declare function LineChart({
children,
yGutter,
width,
height,
shape,
id,
absolute,
...props
}: LineChartProps): React.JSX.Element;
export declare namespace LineChart {
var displayName: string;
}
export {};
//# sourceMappingURL=Chart.d.ts.map