@@ -5,7 +5,6 @@ import { GestureDetector } from "react-native-gesture-handler";
55import { useDerivedValue , useSharedValue } from "react-native-reanimated" ;
66
77import { AxisLabelComponentProps , AxisLabelContainer } from "./AxisLabel" ;
8- import type { BannerComponentProps } from "./Banner" ;
98import { Cursor } from "./Cursor" ;
109import { computePath , getYForX , type ComputePathProps , computeGraphData } from "./Math" ;
1110import {
@@ -24,7 +23,6 @@ export type LineChartProps = ViewProps & {
2423 curveType ?: ComputePathProps [ "curveType" ] ;
2524 /** A worklet function to format a given price. */
2625 formatter ?: ( price : number ) => string ;
27- BannerComponent ?: React . FC < BannerComponentProps > ;
2826 TopAxisLabel ?: React . FC < AxisLabelComponentProps > ;
2927 BottomAxisLabel ?: React . FC < AxisLabelComponentProps > ;
3028} ;
@@ -34,7 +32,6 @@ export const LineChart: React.FC<LineChartProps> = ({
3432 strokeWidth = DEFAULT_STROKE_WIDTH ,
3533 cursorRadius = DEFAULT_CURSOR_RADIUS ,
3634 curveType = DEFAULT_CURVE_TYPE ,
37- BannerComponent = null ,
3835 formatter = DEFAULT_FORMATTER ,
3936 TopAxisLabel = null ,
4037 BottomAxisLabel = null ,
0 commit comments