react-native-language-select
Advanced tools
Comparing version
@@ -16,3 +16,3 @@ import React, { useState } from "react"; | ||
}; | ||
const renderItem = (item) => (<LanguageItem onSelect={handleOnSelectItem} isActive={selectedItem === item} item={item}/>); | ||
const renderItem = (item) => (<LanguageItem onSelect={handleOnSelectItem} isActive={selectedItem === item} item={item} {...rest}/>); | ||
return (<FlatList {...rest} data={data} style={[_container(containerWidth, containerHeight), flatListStyle]} renderItem={({ item }) => renderItem(item)} keyExtractor={(item) => item.title}/>); | ||
@@ -19,0 +19,0 @@ }; |
{ | ||
"name": "react-native-language-select", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Useful and customizable language picker", | ||
@@ -5,0 +5,0 @@ "main": "./build/dist/LanguagePicker.js", |
@@ -5,3 +5,3 @@ <img alt="React Native Typescript Library Starter" src="assets/logo.png" width="1050"/> | ||
<img alt="React Native Typescript Library Starter" | ||
src="assets/react-native-language-select.gif" /> | ||
src="assets/react-native-language-select.gif" height="1050" width="600"/> | ||
</p> | ||
@@ -43,3 +43,3 @@ | ||
imageSource: require("./lib/local-assets/turkey.png"), | ||
language: "tr", | ||
language: "tr-TR", | ||
}, | ||
@@ -99,2 +99,6 @@ { | ||
## Inspiration | ||
Thank you [Oww Studio ](https://dribbble.com/shots/15254633-Translator-Mobile-App-Exploration?utm_source=Clipboard_Shot&utm_campaign=milliarta&utm_content=Translator%20Mobile%20App%20Exploration%20%F0%9F%87%AC%F0%9F%87%A7&utm_medium=Social_Share&utm_source=Clipboard_Shot&utm_campaign=milliarta&utm_content=Translator%20Mobile%20App%20Exploration%20%F0%9F%87%AC%F0%9F%87%A7&utm_medium=Social_Share)) | ||
## Author | ||
@@ -101,0 +105,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
370624
0.13%498
0.2%0
-100%108
3.85%1
Infinity%