Skip to content

Commit b9795d2

Browse files
committed
chore: rename Math to computations
1 parent cdf73d7 commit b9795d2

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

src/components/LineChart/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ComputePathProps } from "./Math";
1+
import { ComputePathProps } from "./computations";
22

33
export const DEFAULT_COLOR = "black";
44
export const DEFAULT_STROKE_WIDTH = 2;

src/components/LineChart/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { useSharedValue } from "react-native-reanimated";
66

77
import { AxisLabelComponentProps, AxisLabelContainer } from "./AxisLabel";
88
import { Cursor } from "./Cursor";
9-
import { computePath, type ComputePathProps, computeGraphData } from "./Math";
9+
import { computePath, type ComputePathProps, computeGraphData } from "./computations";
1010
import {
1111
DEFAULT_CURSOR_RADIUS,
1212
DEFAULT_CURVE_TYPE,

src/components/LineChart/useGestures.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
} from "react-native-gesture-handler";
77
import { SharedValue, interpolate } from "react-native-reanimated";
88

9-
import { getYForX } from "./Math";
9+
import { getYForX } from "./computations";
1010

1111
type PanGestureHandlerOnBeginEventPayload = {
1212
point: number;

0 commit comments

Comments
 (0)