Skip to content

Commit 92a2a39

Browse files
committed
remove unused vars from default empty functions
1 parent 538134b commit 92a2a39

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/components/Picker.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import { FlatList, ScrollView } from 'react-native-gesture-handler';
2626
import { SafeAreaView as SafeAreaContextView } from 'react-native-safe-area-context';
2727

2828
import {
29-
ASCII_CODE,
3029
BADGE_COLORS,
3130
BADGE_DOT_COLORS,
3231
DROPDOWN_DIRECTION,
@@ -54,7 +53,7 @@ function Picker({
5453
open,
5554
setOpen = () => {},
5655
value = null,
57-
setValue = (callback) => {},
56+
setValue = () => {},
5857
activityIndicatorColor = Colors.GREY,
5958
ActivityIndicatorComponent = null,
6059
activityIndicatorSize = 30,
@@ -126,14 +125,14 @@ function Picker({
126125
mode = MODE.DEFAULT,
127126
multiple = false,
128127
multipleText = null,
129-
onChangeSearchText = (text) => {},
130-
onChangeValue = (value) => {},
128+
onChangeSearchText = () => {},
129+
onChangeValue = () => {},
131130
onClose = () => {},
132-
onDirectionChanged = (direction) => {},
133-
onLayout = (e) => {},
131+
onDirectionChanged = () => {},
132+
onLayout = () => {},
134133
onOpen = () => {},
135-
onPress = (open) => {},
136-
onSelectItem = (item) => {},
134+
onPress = () => {},
135+
onSelectItem = () => {},
137136
placeholder = null,
138137
placeholderStyle = {},
139138
props = {},

0 commit comments

Comments
 (0)