UNPKG

react-native-wagmi-charts

Version:

A sweet candlestick chart for React Native

30 lines 948 B
import * as React from 'react'; import { AnimatedProps } from 'react-native-reanimated'; import { PathProps } from 'react-native-svg'; export type LineChartPathProps = AnimatedProps<PathProps> & { color?: string; inactiveColor?: string; width?: number; isInactive?: boolean; /** * Default: `true`. * * If `false`, changes in the chart's path will not animate. * * While this use case is rare, it may be useful on web, where animations might not work as well. * ***Example** * * ```tsx * <LineChart.Path * pathProps={{ isTransitionEnabled: Platform.OS !== 'web' }} * /> * ``` */ isTransitionEnabled?: boolean; }; export declare function LineChartPath({ color, inactiveColor, width: strokeWidth, ...props }: LineChartPathProps): React.JSX.Element; export declare namespace LineChartPath { var displayName: string; } //# sourceMappingURL=Path.d.ts.map