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

react-native-swipeout

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-swipeout - npm Package Compare versions

Comparing version 2.3.5 to 2.3.6

4

dist/index.js

@@ -90,6 +90,6 @@ 'use strict';

var styleSwipeoutBtnText = _extends({}, _styles2.default.swipeoutBtnText);
var styleSwipeoutBtnText = [_styles2.default.swipeoutBtnText];
// apply text color
if (btn.color) styleSwipeoutBtnText = _extends({}, styleSwipeoutBtnText, { color: btn.color });
if (btn.color) styleSwipeoutBtnText.push({ color: btn.color });

@@ -96,0 +96,0 @@ return _react2.default.createElement(

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

textStyle: _propTypes2.default.any,
disabledStyle: _propTypes2.default.object,
disabledStyle: _propTypes2.default.any,
children: _propTypes2.default.node.isRequired,

@@ -49,0 +49,0 @@ underlayColor: _propTypes2.default.string,

{
"name": "react-native-swipeout",
"version": "2.3.5",
"version": "2.3.6",
"description": "iOS-style swipeout buttons behind component",

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

@@ -73,6 +73,6 @@ import tweenState from 'react-tween-state';

var styleSwipeoutBtnText = { ...styles.swipeoutBtnText };
var styleSwipeoutBtnText = [styles.swipeoutBtnText];
// apply text color
if (btn.color) styleSwipeoutBtnText = { ...styleSwipeoutBtnText, color: btn.color };
if (btn.color) styleSwipeoutBtnText.push({color: btn.color });

@@ -79,0 +79,0 @@ return (

@@ -36,3 +36,3 @@ import React from 'react';

textStyle: PropTypes.any,
disabledStyle: PropTypes.object,
disabledStyle: PropTypes.any,
children: PropTypes.node.isRequired,

@@ -39,0 +39,0 @@ underlayColor: PropTypes.string,

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