Skip to content

Commit

Permalink
fix: Fix property React doesn't exist error
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-yakuza committed Nov 23, 2024
1 parent f75a4d6 commit f4ceae6
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/components/ImageDetail/components/Background/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react'
import type { ColorValue } from 'react-native'
import { Animated, StyleSheet } from 'react-native'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { ReactNode } from 'react'
import React from 'react'
import { Animated, Dimensions, Platform, StatusBar, StyleSheet } from 'react-native'

const styles = StyleSheet.create({
Expand Down
1 change: 0 additions & 1 deletion src/components/ImageDetail/components/Footer/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { ReactNode } from 'react'
import React from 'react'
import { Animated, StyleSheet } from 'react-native'

const styles = StyleSheet.create({
Expand Down
1 change: 0 additions & 1 deletion src/components/ImageDetail/components/Header/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { ReactNode } from 'react'
import React from 'react'
import { Animated, SafeAreaView, StatusBar, StyleSheet, Text, TouchableOpacity } from 'react-native'

const styles = StyleSheet.create({
Expand Down
2 changes: 1 addition & 1 deletion src/components/ImageDetail/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { ReactNode } from 'react'
import React, { forwardRef, useEffect, useImperativeHandle, useRef } from 'react'
import { forwardRef, useEffect, useImperativeHandle, useRef } from 'react'
import type { ImageResizeMode, StyleProp, ImageStyle, ImageSourcePropType } from 'react-native'
import { Dimensions, Animated, Modal } from 'react-native'

Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { ReactNode, RefObject } from 'react'
import React, { createRef, forwardRef, useImperativeHandle, useRef, useState } from 'react'
import { createRef, forwardRef, useImperativeHandle, useRef, useState } from 'react'
import type { StyleProp, ImageStyle, ImageResizeMode, ImageSourcePropType } from 'react-native'
import { Animated, View } from 'react-native'

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"lib": ["es6", "dom", "es2016", "es2017"],
"sourceMap": true,
"allowJs": false,
"jsx": "react-native",
"jsx": "react-jsx",
"declaration": true,
"declarationMap": true,
"moduleResolution": "node",
Expand Down

0 comments on commit f4ceae6

Please sign in to comment.