react-native-country-select 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -478,6 +478,7 @@ export const CountrySelect: React.FC<ICountrySelectProps> = ({
|
|
|
478
478
|
getItemLayout={getItemLayout}
|
|
479
479
|
keyboardShouldPersistTaps="handled"
|
|
480
480
|
showsVerticalScrollIndicator={showsVerticalScrollIndicator || false}
|
|
481
|
+
style={[styles.list, countrySelectStyle?.list]}
|
|
481
482
|
/>
|
|
482
483
|
);
|
|
483
484
|
};
|
package/lib/components/styles.js
CHANGED
|
@@ -29,24 +29,21 @@ export const createStyles = (theme, modalType, isFullScreen) =>
|
|
|
29
29
|
height: '60%',
|
|
30
30
|
backgroundColor: theme === 'dark' ? '#202020' : '#FFFFFF',
|
|
31
31
|
borderRadius: 20,
|
|
32
|
-
|
|
32
|
+
paddingVertical: 16,
|
|
33
33
|
}
|
|
34
34
|
: {
|
|
35
35
|
marginTop: StatusBar.currentHeight,
|
|
36
36
|
width: '100%',
|
|
37
|
+
borderRadius: 20,
|
|
37
38
|
backgroundColor: theme === 'dark' ? '#202020' : '#FFFFFF',
|
|
38
|
-
padding: 16,
|
|
39
|
-
paddingTop: 0,
|
|
40
39
|
},
|
|
41
40
|
dragHandleContainer: {
|
|
42
41
|
width: '100%',
|
|
43
42
|
height: 24,
|
|
44
43
|
justifyContent: 'center',
|
|
45
44
|
alignItems: 'center',
|
|
46
|
-
backgroundColor: theme === 'dark' ? '#202020' : '#FFFFFF',
|
|
47
45
|
borderTopLeftRadius: 20,
|
|
48
46
|
borderTopRightRadius: 20,
|
|
49
|
-
marginBottom: -1,
|
|
50
47
|
},
|
|
51
48
|
dragHandleIndicator: {
|
|
52
49
|
width: 40,
|
|
@@ -55,8 +52,8 @@ export const createStyles = (theme, modalType, isFullScreen) =>
|
|
|
55
52
|
borderRadius: 2,
|
|
56
53
|
},
|
|
57
54
|
searchContainer: {
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
paddingVertical: 8,
|
|
56
|
+
paddingHorizontal: 16,
|
|
60
57
|
flexDirection: 'row',
|
|
61
58
|
},
|
|
62
59
|
searchInput: {
|
|
@@ -71,6 +68,8 @@ export const createStyles = (theme, modalType, isFullScreen) =>
|
|
|
71
68
|
},
|
|
72
69
|
list: {
|
|
73
70
|
flex: 1,
|
|
71
|
+
padding: 16,
|
|
72
|
+
paddingTop: 0,
|
|
74
73
|
},
|
|
75
74
|
countryItem: {
|
|
76
75
|
flex: 1,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-country-select",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "🌍 A lightweight and customizable country picker for React Native with modern UI, flags, search engine, and i18n support. Includes TypeScript types, offline support and no dependencies.",
|
|
5
5
|
"main": "lib/index.tsx",
|
|
6
6
|
"types": "lib/index.d.ts",
|