UNPKG

react-native-section-alphabet-list

Version:

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

7 lines (6 loc) 229 B
import { IData } from "../components/AlphabetList/types"; export declare const getSectionData: (data: IData[], charIndex: string[], uncategorizedAtTop?: boolean) => { index: number; title: string; data: IData[]; }[];