Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

Commit 7558660

Browse files
chore: removed unused dep
1 parent 7e0ccc2 commit 7558660

File tree

5 files changed

+4
-7
lines changed

5 files changed

+4
-7
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"license": "MIT",
66
"types": "react-navigation-search-layout.d.ts",
77
"dependencies": {
8-
"react-native-iphone-x-helper": "^1.2.0",
9-
"react-native-platform-touchable": "^1.1.1"
8+
"react-native-iphone-x-helper": "^1.2.0"
109
}
1110
}

src/Header.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
import React from 'react';
22
import {
33
Animated,
4-
Dimensions,
54
Platform,
65
StatusBar,
76
StyleSheet,
87
View,
98
} from 'react-native';
109

1110
import { HeaderBackButton } from '@react-navigation/stack';
12-
import { getInset, getStatusBarHeight } from 'react-native-safe-area-view';
11+
import { getStatusBarHeight } from 'react-native-safe-area-view';
1312
import { isIphoneX } from 'react-native-iphone-x-helper';
1413
import { useNavigation } from '@react-navigation/native';
1514

src/SearchBar.ios.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import React from 'react';
22
import {
33
Dimensions,
44
LayoutAnimation,
5-
NativeModules,
65
StyleSheet,
76
Text,
87
TextInput,

src/SearchBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { NativeModules, StyleSheet, TextInput, TouchableNativeFeedback, View } from 'react-native';
2+
import { StyleSheet, TextInput, TouchableNativeFeedback, View } from 'react-native';
33
import Ionicons from 'react-native-vector-icons/Ionicons';
44
import { useNavigation } from '@react-navigation/native';
55

src/SearchLayout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { Platform, StyleSheet, Text, View } from 'react-native';
2+
import { Platform, StyleSheet, View } from 'react-native';
33
import SearchBar from './SearchBar';
44
import Header from './Header';
55

0 commit comments

Comments
 (0)