Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
expo-contacts-wrapper
Advanced tools
A UI wrapper for expo's native Contacts API. Renders contacts in a list.
# yarn
yarn add expo-contacts-wrapper
# npm
npm install expo-contacts-wrapper --save
import { ContactsListWrapper } from "expo-contacts-wrapper";
export default function App() {
const finishSelectingContacts = (selectedContacts) => {
console.log("Selected Contacts", selectedContacts);
};
return <ContactsListWrapper onFinish={finishSelectingContacts} />;
}
Prop | Required? | Type | Default | Description |
---|---|---|---|---|
onFinish | true | function | None | Callback when user is done adding contacts. First argument is array of contacts. |
pageSize | false | Integer | 50 | How many contacts to load per page. |
sort | false | SortType | Contacts.SortTypes.LastName | Sort type provided by Expo. |
LoadingComponent | false | Component | Component to show while contacts are loading. | |
PermissionDeniedComponent | false | Component | Component to show when permission to the Contacts list is denied. | |
searchBarTextInputProps | false | Object | None | Set of props to pass to InputText search box. |
searchBarDebounceMS | false | Integer | 500 | Debounce timer on the search bar. |
ContactComponent | false | Component | Custom component to render a contact in the list. Is given props contact and isSelected . | |
GetMoreComponent | false | Component | ActivityIndicator | Component to display at bottom of the list when there are more contacts to load. |
contactsListContainerStyle | false | Object | Styling for list container. | |
headerStyle | false | Object | Styling for header containing "done" button. | |
doneButtonStyle | false | Object | Styling for done button (TouchableOpacity . | |
doneButtonText | false | String | "Done" | Text content of the done button. |
FAQs
Simple UI wrapper around expo's Contacts API.
We found that expo-contacts-wrapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.