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.4 to 1.0.5

9

Break.js

@@ -7,3 +7,3 @@ /**

import React from "react";
import { View } from "react-native";
import { View, TouchableOpacity } from "react-native";
import PropTypes from "prop-types";

@@ -48,2 +48,3 @@

children,
hr,
horizontalRuleColor,

@@ -53,2 +54,3 @@ horizontalRuleWidth,

}) => {
const SometimesTouchableView = onPress ? View : TouchableOpacity;
const hrStyle = hr

@@ -62,3 +64,3 @@ ? {

return (
<View
<SometimesTouchableView
style={[

@@ -80,3 +82,3 @@ {

{children}
</View>
</SometimesTouchableView>
);

@@ -106,2 +108,3 @@ };

align: PropTypes.string,
hr: PropTypes.bool,
horizontalRuleColor: PropTypes.string,

@@ -108,0 +111,0 @@ horizontalRuleWidth: PropTypes.number

@@ -9,3 +9,3 @@ /**

import PropTypes from "prop-types";
import Wrap from "./Wrap";
import Break from "./Break";

@@ -17,3 +17,2 @@ /**

* @param color
* @param confirmColor
* @param textColor

@@ -59,5 +58,5 @@ * @param textSize

return (
<Wrap onPress={onPress} all={0} style={buttonStyle} {...props}>
<Break onPress={onPress} all={0} style={buttonStyle} {...props}>
<Text style={textStyle}>{text}</Text>
</Wrap>
</Break>
);

@@ -64,0 +63,0 @@ };

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

"description": "Layout components",
"gitHead": "b15354207f1e4b0a0ff2dbccfc7f32d930b43617",
"gitHead": "0c100e88176f60c898761607628620c8535fe863",
"license": "ISC",

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

},
"version": "1.0.4"
"version": "1.0.5"
}

@@ -21,2 +21,3 @@ /**

* @param strikethrough
* @param align
* @param url

@@ -36,2 +37,3 @@ * @param style

strikethrough,
align,
url,

@@ -56,2 +58,3 @@ style,

fontStyle: italic ? "italic" : "normal",
textAlign: align,
textDecorationLine,

@@ -82,2 +85,3 @@ color

strikethrough: PropTypes.bool,
align: PropTypes.string,
style: PropTypes.any

@@ -84,0 +88,0 @@ };

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