React Native Alpha Flat List
A simple and fully customizable React Native component that implements Alphabetical List
Getting Started
$ yarn add react-native-alpha-flat-list
or
$ npm install --save react-native-alpha-flat-list
Example
Usage
Import the AlphaFlatList
component from react-native-alpha-flat-list
and use it like so:
import React from 'react'import SafeAreaView View Text from 'react-native' import AlphaFlatList from 'react-native-alpha-flat-list' const ITEM_HEIGHT = 20 const items = Array const data = items { const renderItem = item <View => <Text>itemname</Text> </View> const keyExtractor = id id return <SafeAreaView => <AlphaFlatList = = = = = = = = /> </SafeAreaView> }