
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
github.com/bzurkow/swipeable-modal-react-native
Advanced tools
This package delivers a lightweight "pop up" modal that can be swiped right or left. Each direction can receive it's own function to do whatever you would like it to!
npm install --save swipeable-modal-react-native
import React, { Component } from 'react';
import { Text, View } from 'react-native';
import PopUp from 'swipeable-modal-react-native';
export default class Something extends Component {
render() {
return (
<View>
<PopUp>
{/*
Put whatever you want to display in the modal here!
*/}
</PopUp>
</View>
)
}
}
Under the default settings, a button will be rendered like such:
This can be disabled by props.
showButtonbuttonTextbuttonColorbuttonContainerStylebuttonTextStylemodalTransparentmodalOpenanimatedViewStylemodalOpenAnimationonSwipeRightonSwipeLefttrueClick Me!#1BA9DF{backgroundColor: '#1BA9DF', borderRadius: 10}<TouchableHighlight> container{padding: 20, color: '#fff'}<Text> elementtruetrue, displays rendered content behind modal content. If false, blocks non-modal contentfalse {
backgroundColor: '#fff',
borderRadius: 10,
height: height-85,
width: width-50,
marginTop: 60,
marginBottom: 25,
marginLeft: 25,
marginRight: 25,
}
none, slide, fadeFAQs
Unknown package
Did you know?

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.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.