react-native-swipeout
Advanced tools
Comparing version 2.3.5 to 2.3.6
@@ -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, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
114014