
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
rn-swipeable
Advanced tools
Completely customizable swipeable component for react native. Supports both iOS and Android. Wrapped around react-native-swipe-out.
Completely customizable swipeable component for react native. Supports both iOS and Android. Wrapped around react-native-swipe-out.
npm install --save rn-swipeable
import Swipeable from 'rn-swipeable/lib';
<Swipeable
left={[
{
text: 'reply',
onPress:() => console.log('reply'),
style: { backgroundColor: 'orange', color: 'white' },
renderChildren: () => <View><Text> This is inside left children </Text></View>
}
]}
right={[
{
text: 'delete',
onPress:() => console.log('delete'),
style: { backgroundColor: 'red', color: 'white' },
renderChildren: () => <View><Text> This is inside right children </Text></View>
}
]}
onOpen={() => console.log('open')}
onClose={() => console.log('close')}
>
<View style={{flex: 1, justifyContent: 'center'}}> This is inside the swipeable component </View>
</Swipeable>
| name | description | type | default |
|---|---|---|---|
| style | swipeable style | Object | `` |
| left | swipeable buttons on left | Array | [] |
| right | swipeable buttons on right | Array | [] |
| autoClose | auto close on button press | Boolean | function() {} |
| onOpen | Function | function() {} | |
| onClose | Function | function() {} | |
| disabled | disabled swipeable | Boolean | false |
| name | description | type | default |
|---|---|---|---|
| text | button text | String | Click |
| style | button style | Object | `` |
| onPress | button press function | Function | function() {} |
rn-swipeable is released under the MIT license.
FAQs
Completely customizable swipeable component for react native. Supports both iOS and Android. Wrapped around react-native-swipe-out.
We found that rn-swipeable demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.