Skip to content

Commit

Permalink
Fix circular import warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
jameswilddev committed Apr 19, 2023
1 parent 536fe77 commit f12e445
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion react-native/components/Hitbox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
TouchableOpacity,
ViewStyle,
} from "react-native";
import { useMeasure } from "../../..";
import { useMeasure } from "../../hooks/useMeasure";

type Component = React.FunctionComponent<
React.PropsWithChildren<{
Expand Down
8 changes: 3 additions & 5 deletions react-native/components/createSplitButtonComponent/index.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import * as React from "react";
import { StyleSheet, Text, TextStyle, View, ViewStyle } from "react-native";
import {
flattenRenderedToArray,
SplitButtonStyle,
SplitButtonStateStyle,
} from "../../..";
import { flattenRenderedToArray } from "../../utilities/flattenRenderedToArray";
import type { SplitButtonStyle } from "../../types/SplitButtonStyle";
import type { SplitButtonStateStyle } from "../../types/SplitButtonStateStyle";
import { Hitbox } from "../Hitbox";

const createSingleButtonHitboxStyleInstance = (
Expand Down
2 changes: 1 addition & 1 deletion react-native/components/createTiledComponent/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import { StyleSheet, View, ViewStyle } from "react-native";
import { flattenRenderedToArray } from "../../..";
import { flattenRenderedToArray } from "../../utilities/flattenRenderedToArray";
import { useMeasure } from "../../hooks/useMeasure";
import { getRenderedKey } from "../../utilities/getRenderedKey";

Expand Down

0 comments on commit f12e445

Please sign in to comment.