UNPKG

react-native-swipe-list

Version:

<!--[![Build Status][build-badge]][build]--> [![Version][version-badge]][package] ![Supports iOS and Android][support-badge] [![MIT License][license-badge]][license]

11 lines 555 B
import React from 'react'; import { FlatListProps, ListRenderItemInfo } from 'react-native'; declare type SwipableListProps<ItemT> = { renderLeftActions?: (info: ListRenderItemInfo<ItemT>) => React.ReactNode; renderRightActions?: (info: ListRenderItemInfo<ItemT>) => React.ReactNode; closeOnScroll?: boolean; }; declare type Props<ItemT> = SwipableListProps<ItemT> & FlatListProps<ItemT>; export declare const SwipeableFlatList: <ItemT extends {}>(props: Props<ItemT>) => JSX.Element; export {}; //# sourceMappingURL=SwipeableFlatList.d.ts.map