@@ -4,7 +4,7 @@ import { LayoutChangeEvent, StyleSheet, View, ViewProps } from "react-native";
44import { GestureDetector } from "react-native-gesture-handler" ;
55import { useSharedValue } from "react-native-reanimated" ;
66
7- import { AxisLabelComponentProps , AxisLabelContainer } from "./AxisLabel" ;
7+ import { AxisLabelProps , AxisLabelContainer } from "./AxisLabel" ;
88import { Cursor } from "./Cursor" ;
99import { computePath , type ComputePathProps , computeGraphData } from "./computations" ;
1010import {
@@ -79,15 +79,15 @@ interface LineChartProps extends ViewProps {
7979 * @note This compnent should not be a Skia component since it is not rendered
8080 * in the Canvas.
8181 */
82- TopAxisLabel ?: React . FC < AxisLabelComponentProps > ;
82+ TopAxisLabel ?: React . FC < AxisLabelProps > ;
8383 /**
8484 * The component to render as the bottom axis label.
8585 * @default null
8686 *
8787 * @note This compnent should not be a Skia component since it is not rendered
8888 * in the Canvas.
8989 */
90- BottomAxisLabel ?: React . FC < AxisLabelComponentProps > ;
90+ BottomAxisLabel ?: React . FC < AxisLabelProps > ;
9191 /**
9292 * The type of curve to use for the line chart. Currently, only "linear" is supported.
9393 *
@@ -271,7 +271,7 @@ export {
271271 LineChart ,
272272 type LineChartProps ,
273273 type PathFillProps ,
274- type AxisLabelComponentProps ,
274+ type AxisLabelProps ,
275275 // Gesture exports
276276 type PanGestureHandlerOnBeginEventPayload ,
277277 type PanGestureHandlerEventPayload ,
0 commit comments