esthor/react-native-swipeable-list
소개
의존성이 없는 React Native용 스와이프 가능한 FlatList입니다. 제스처, 빠른 작업, 애니메이션을 지원합니다. 간단합니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalreact-native-swipeable-list
A zero-dependency, Swipeable FlatList for React-Native with Quick Actions, Gestures, and Animations.

Usage
Install the package in your project:
npm install react-native-swipeable-listoryarn add react-native-swipeable-listImport the component into your component:
import SwipeableFlatList from 'react-native-swipeable-list';Pass it a data array. It inherits FlatListProps from the standard
FlatListcomponent from react-native.
It can be passed additional props:
shouldBounceOnMount(default =true) - To alert the user that swiping is possible, the first row can bounce on component mount. TypebooleanmaxSwipeDistance- Maximum distance to open to after a swipe. Typenumber || (Object => number)renderQuickActions- Callback method to render the view that will be unveiled on swipe. TyperenderItemType(which providesindexanditem, which will be very useful for performing actions on your items)
Example
Check out the example in the /examples folder. Clone this repo, then cd examples && yarn install && yarn start and then either react-native run-ios or react-native run-android to get the app up and running locally. Play with the code and see what you can do! 😎
History & Shoutouts
Started from the SwipeableFlatList component that was removed from react-native's experimental libraries. (See: https://github.com/facebook/react-native/commit/9ca7989f60cc8137705effeaad0f128fa73ed2e4)
관련 프로젝트 살펴보기
불러오는 중…