Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-swipeable-up-down

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-swipeable-up-down

Swipeable up down

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

React Native Swipeable Up Down

Installation

yarn add react-native-swipeable-up-down

Note: Progress indicators has been broken out to a separate component; react-native-interactable. To use them, please follow installation instructions for that package.

Usage

import SwipeableUpDown from 'react-native-swipeable-up-down';

<SwipeableBox
	isList
	showHeader
	childrenRef={this.refs.flatListRef}
	ref='SwipeableBoxRef'
>
	<FlatList
		ref='flatListRef'
		style={{ backgroundColor: 'white' }}
		data={searchData}
		renderItem={this._renderItem}
	/>
</SwipeableBox>

Properties

PropDescriptionDefault
snapPointsRelated RN Interactable .true
boundariesRelated RN Interactable.true
initialPositionRelated RN Interactable.true
isListTo handle scrollview in List, so if you're using List (FlatList, ScrollView,...) should set value is true.false
childrenRefIf you're using list in SwipeableBox, you need pass your Reference of List.None
onStateChangeIt's call when box show or hide.true

Methods

show() hide() isVisble()

License

This module is MIT licensed

Keywords

FAQs

Package last updated on 14 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc