Skip to content

Commit ce31151

Browse files
committed
chore: run eslint --fix
1 parent d1896b3 commit ce31151

File tree

8 files changed

+7
-10
lines changed

8 files changed

+7
-10
lines changed

examples/App.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import React, { JSX } from 'react';
2-
import DropDownPickerExample, { ExampleProps } from './example-src-files/example';
3-
import { FlatList, StyleSheet, View, useColorScheme } from 'react-native';
2+
import { FlatList, StyleSheet, useColorScheme,View } from 'react-native';
43
import { GestureHandlerRootView } from 'react-native-gesture-handler';
54

5+
import DropDownPickerExample, { ExampleProps } from './example-src-files/example';
6+
67
const EXAMPLES: Array<ExampleProps> = [{
78
title: "Default Example",
89
description: "This is the default dropdown picker"

examples/example-src-files/example.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { JSX, useState } from 'react';
2-
import { Button, StyleSheet, Text, View, useColorScheme } from 'react-native';
2+
import { Button, StyleSheet, Text, useColorScheme,View } from 'react-native';
33
import DropDownPicker, { DropDownPickerProps,ItemType } from 'react-native-dropdown-picker';
44

55
export interface ExampleProps {

examples/package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/ListEmpty.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React, { memo } from 'react';
2-
32
import { Text, View } from 'react-native';
43

54
function ListEmpty({

src/components/Picker.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import React, {
88
useRef,
99
useState,
1010
} from 'react';
11-
1211
import {
1312
ActivityIndicator,
1413
BackHandler,
@@ -23,11 +22,10 @@ import {
2322
TouchableOpacity,
2423
View,
2524
} from 'react-native';
26-
2725
import { FlatList, ScrollView } from 'react-native-gesture-handler';
28-
2926
// Import SafeAreaView from react-native-safe-area-context for better edge-to-edge support
3027
import { SafeAreaView as SafeAreaContextView } from 'react-native-safe-area-context';
28+
3129
import {
3230
ASCII_CODE,
3331
BADGE_COLORS,
@@ -43,7 +41,6 @@ import {
4341
SCHEMA,
4442
TRANSLATIONS,
4543
} from '../constants';
46-
4744
import Colors from '../constants/colors';
4845
import THEMES from '../themes';
4946
import ListEmpty from './ListEmpty';

src/components/RenderBadgeItem.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React, { memo, useCallback, useMemo } from 'react';
2-
32
import { Text, TouchableOpacity, View } from 'react-native';
43

54
import { RTL_DIRECTION, RTL_STYLE } from '../constants';

src/components/RenderListItem.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import React, { memo, useCallback, useMemo } from 'react';
2-
32
import { Text, TouchableOpacity } from 'react-native';
43

54
function RenderListItem({

src/themes/dark/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { StyleSheet } from 'react-native';
2+
23
import Colors from '../../constants/colors';
34

45
export const ICONS = {

0 commit comments

Comments
 (0)