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'; } from 'react-native';
import Modal from "react-native-modal"; import Modal from "react-native-modal";
import { Colors } from '@/constants/Colors'; import { Colors } from '@/lib/constants/Colors';
import { ThemedView } from '@/components/ThemedView'; import { ThemedView } from '@/lib/components/ThemedView';
import { ThemedText } from '@/components/ThemedText'; import { ThemedText } from '@/lib/components/ThemedText';
import { useColorScheme } from '@/hooks/useColorScheme'; import { useColorScheme } from '@/lib/hooks/useColorScheme';
interface Field { interface Field {
name: string; name: string;

View file

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

View file

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

View file

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

View file

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

View file

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