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

@redu/react-native-component-layout

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@redu/react-native-component-layout - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

20

Button.js

@@ -14,6 +14,4 @@ /**

*
* @param text
* @param children
* @param color
* @param textColor
* @param textSize
* @param activityIndicatorColour

@@ -30,4 +28,2 @@ * @param radius

color,
textColor,
textSize,
activityIndicatorColour,

@@ -41,8 +37,6 @@ radius,

backgroundColor: color,
borderRadius: radius
borderRadius: radius,
justifyContent: "center",
alignItems: "center"
};
const textStyle = {
color: textColor,
fontSize: textSize
};

@@ -60,3 +54,3 @@ /* If loading is set to true, we place an activity indicator in the button */

<Break onPress={onPress} all={0} style={buttonStyle} {...props}>
<Text style={textStyle}>{children}</Text>
{children}
</Break>

@@ -71,6 +65,4 @@ );

Button.propTypes = {
text: PropTypes.string,
children: PropTypes.any,
color: PropTypes.string,
textColor: PropTypes.string,
textSize: PropTypes.number,
activityIndicatorColour: PropTypes.string,

@@ -77,0 +69,0 @@ radius: PropTypes.number,

@@ -31,3 +31,3 @@ {

"description": "Layout components",
"gitHead": "9fa036c43fd5c9875b686e58cf26867ec3d59775",
"gitHead": "62c0bbea34b2a911348b73c68299910c437b89d5",
"license": "ISC",

@@ -39,3 +39,3 @@ "main": "index.js",

},
"version": "1.0.7"
"version": "1.0.8"
}
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