New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dillionverma/react-native-swipe-button

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dillionverma/react-native-swipe-button - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

.watchmanconfig

2

package.json
{
"name": "@dillionverma/react-native-swipe-button",
"version": "1.0.0",
"version": "1.1.0",
"description": "A UI component for displaying a button that can be swiped.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,2 +0,2 @@

# @dillionverma/react-native-swipe-button
# React Native Swipe Button

@@ -27,11 +27,11 @@ This component can be used to have an animated tabbar in your react-native app.

| title | string **Required** | The text that will be displayed inside the button |
| onSwipeStart | () => void | Callback that will be invoked when the user starts swiping |
| onSwipeEnd | () => void | Callback that will be invoked when the user ends swiping |
| onComplete | () => void **Required** | Callback function that will be invoked when the button has reached the final state |
| height | number | The height of the container. Default 70 |
| width | number | The width of the container. Default 90% of the screen width |
| borderRadius | number | The border radius of the container and button (default: height / 2) |
| completeThresholdPercentage | number | Determinates when onComplete should be invoked (defualt: 70) |
| onSwipeStart | () => void | Callback that will be invoked when the user starts swiping |
| onSwipeEnd | () => void | Callback that will be invoked when the user ends swiping |
| completeThresholdPercentage | number | Determinates when onComplete should be invoked (default: 100) |
| containerStyle | StyleProp<ViewStyle> | Styling for the container |
| underlayStyle | StyleProp<ViewStyle> | Styling for the underlay container |
| iconContainerStyle | StyleProp<ViewStyle> | Styling for the icon container |
| titleContainerProps | ViewProps | Additonal Props for the title container |

@@ -38,0 +38,0 @@ | titleContainerStyle | StyleProp<ViewStyle> | Styling for the title container |

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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