Fix imports

This commit is contained in:
Maarten 2024-08-08 14:48:12 +02:00
parent ff2320f08c
commit 7d6909f5c2
6 changed files with 9 additions and 9 deletions

View file

@ -6,10 +6,10 @@ import {
} from 'react-native';
import Modal from "react-native-modal";
import { Colors } from '@/constants/Colors';
import { ThemedView } from '@/components/ThemedView';
import { ThemedText } from '@/components/ThemedText';
import { useColorScheme } from '@/hooks/useColorScheme';
import { Colors } from '@/lib/constants/Colors';
import { ThemedView } from '@/lib/components/ThemedView';
import { ThemedText } from '@/lib/components/ThemedText';
import { useColorScheme } from '@/lib/hooks/useColorScheme';
interface Field {
name: string;

View file

@ -1,6 +1,6 @@
import React from 'react';
import { ViewStyle } from 'react-native';
import { ThemedView } from '@/components/ThemedView';
import { ThemedView } from '@/lib/components/ThemedView';
interface ListProps {
data: any;

View file

@ -1,6 +1,6 @@
import { Text, type TextProps, StyleSheet } from 'react-native';
import { useThemeColor } from '@/hooks/useThemeColor';
import { useThemeColor } from '@/lib/hooks/useThemeColor';
export type ThemedTextProps = TextProps & {
lightColor?: string;

View file

@ -1,6 +1,6 @@
import { View, type ViewProps } from 'react-native';
import { useThemeColor } from '@/hooks/useThemeColor';
import { useThemeColor } from '@/lib/hooks/useThemeColor';
export type ThemedViewProps = ViewProps & {
lightColor?: string;

View file

@ -1,5 +1,5 @@
import { createContext, PropsWithChildren, useContext } from "react";
import { useStorageState } from '@/context/UseStorageState';
import { useStorageState } from '@/lib/context/UseStorageState';
type TokenType = {
token: string | null;

View file

@ -5,7 +5,7 @@
import { useColorScheme } from 'react-native';
import { Colors } from '@/constants/Colors';
import { Colors } from '@/lib/constants/Colors';
export function useThemeColor(
props: { light?: string; dark?: string },