UNPKG

react-native-flatlist-alphabet

Version:

A simple React Native component that takes an array of data and renders a SectionList with alphabetically sorted data.

8 lines (7 loc) 192 B
import IData from "../interfaces/IData"; declare const getSectionData: (data: IData[]) => { index: number; title: string; data: IData[]; }[]; export default getSectionData;