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

rc-swipeout

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-swipeout - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

4

HISTORY.md
# History
# 1.2.6
- new: support `className` for button;
# 1.2.5

@@ -4,0 +8,0 @@

2

lib/Swipeout.web.js

@@ -229,3 +229,3 @@ 'use strict';

{ key: i,
className: prefixCls + '-btn',
className: prefixCls + '-btn ' + (btn.hasOwnProperty('className') ? btn.className : ''),
style: btn.style,

@@ -232,0 +232,0 @@ onClick: function onClick(e) {

{
"name": "rc-swipeout",
"version": "1.2.5",
"version": "1.2.6",
"description": "swipe out ui component for react(web and react-native)",

@@ -5,0 +5,0 @@ "keywords": [

@@ -52,3 +52,4 @@ # rc-swipeout

onPress:() => console.log('reply'),
style: { backgroundColor: 'orange', color: 'white' }
style: { backgroundColor: 'orange', color: 'white' },
className: 'custom-class-1'
}

@@ -60,3 +61,4 @@ ]}

onPress:() => console.log('delete'),
style: { backgroundColor: 'red', color: 'white' }
style: { backgroundColor: 'red', color: 'white' },
className: 'custom-class-2'
}

@@ -100,2 +102,3 @@ ]}

| onPress | button press function | Function | `function() {}` |
| className | button custom class | String | `` |

@@ -102,0 +105,0 @@ ## Test Case

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