You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+44-27Lines changed: 44 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
<br>
2
2
3
3
<divalign = "center">
4
-
<imgsrc="lib/assets/images/preview.png"alt="React Native Country Picker and Select Lib preview">
4
+
<imgsrc="https://astroonauta.github.io/react-native-country-select/lib/assets/images/preview.png"alt="React Native Country Picker and Select Lib preview">
5
5
</div>
6
6
7
7
<br>
@@ -123,8 +123,8 @@ npx react-native-asset
123
123
- Class Component
124
124
125
125
```jsx
126
-
import React, {Component} from 'react';
127
-
import {Text, TouchableOpacity, View} from 'react-native';
126
+
import React, {Component} from 'react';
127
+
import {Text, TouchableOpacity, View} from 'react-native';
128
128
import CountrySelect from 'react-native-country-select';
@@ -355,6 +365,7 @@ export default function App() {
355
365
| allCountriesTitle | string | No |'All Countries'| All Countries section title |
356
366
| showsVerticalScrollIndicator | boolean | No |false| Displays a horizontal scroll indicator |
357
367
| countryNotFoundMessage | string | No |"No countries found"| Country not found in search |
368
+
| allowFontScaling | boolean | No |true| Whether to allow font scaling for text elements |
358
369
359
370
<br>
360
371
@@ -405,13 +416,19 @@ The `language` prop supports the following values:
405
416
When utilizing this package, you may need to target the CountrySelect component in your automated tests. To facilitate this, we provide a testID props for the CountrySelect component. The testID can be integrated with popular testing libraries such as @testing-library/react-native or Maestro. This enables you to efficiently locate and interact with CountrySelect elements within your tests, ensuring a robust and reliable testing experience.
0 commit comments