Socket
Socket
Sign inDemoInstall

react-native-contacts-sectionlist

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-contacts-sectionlist


Version published
Maintainers
1
Weekly downloads
1
decreased by-50%

Weekly downloads

Readme

Source

react-native-contacts-sectionlist

Works on both iOS and Android.

Instructions

This component depends on the API of react-native-contacts. To use this component, follow the installation procedures for react-native-contacts. You won't have to ask for android permissions at runtime. This component will handle that.

After that you may:

npm:

npm i react-native-contacts-sectionlist

yarn:

yarn add react-native-contacts-sectionlist

Example

import React, { Component } from "react";
import { ContactsSectionList } from "react-native-contacts-sectionlist";

export default class App extends Component {
  render() {
    return <ContactsSectionList />;
  }
}

Styling

PropTypeDescription
containerStylestyleWill be applied to the view container which surrounds the <SectionList/>.
headerStylestyleWill be applied to the headers which are <Text/> components.
rowStylestyleWill be applied to the rows which are <TouchableOpacity/> components.
itemStylestyleWill be applied to row items which are <Text/> components.

Styling example:
<ContactsSectionList
  containerStyle = {{ flex: 2 }}
  headerStyle = {{ fontSize: 36 }}
  rowStyle = {{ height: 20 }}
  itemStyle = {{ paddingLeft: 10 }}
 />

Keywords

FAQs

Last updated on 02 Jun 2019

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc