react-native-international-phone-number 0.6.2 → 0.6.3

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.
Files changed (2) hide show
  1. package/lib/index.js +5 -5
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -322,14 +322,14 @@ const PhoneInput = forwardRef(
322
322
  getPhoneNumberInputPlaceholder(language || 'en')
323
323
  }
324
324
  placeholderTextColor={
325
- placeholderTextColor || theme === 'dark'
326
- ? '#CCCCCC'
327
- : '#AAAAAA'
325
+ placeholderTextColor ||
326
+ (theme === 'dark' ? '#CCCCCC' : '#AAAAAA')
328
327
  }
329
328
  selectionColor={
330
- selectionColor || theme === 'dark'
329
+ selectionColor ||
330
+ (theme === 'dark'
331
331
  ? 'rgba(255,255,255, .4)'
332
- : 'rgba(0 ,0 ,0 , .4)'
332
+ : 'rgba(0 ,0 ,0 , .4)')
333
333
  }
334
334
  editable={!disabled}
335
335
  value={inputValue}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-native-international-phone-number",
3
3
  "author": "AstrOOnauta (https://github.com/AstrOOnauta)",
4
- "version": "0.6.2",
4
+ "version": "0.6.3",
5
5
  "description": "International mobile phone input component with mask for React Native",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",