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

nuke-components

Package Overview
Dependencies
Maintainers
3
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-components - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

2

package.json
{
"name": "nuke-components",
"version": "0.0.17",
"version": "0.0.18",
"description": "",

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

@@ -10,29 +10,29 @@ /* @jsx createElement */

class View extends Component {
render() {
let props = this.props;
if (isWeex) {
return <div {...props} />;
} else {
let styleProps = {
...styles.base,
...props.style
};
return <div {...props} style={styleProps} />;
}
}
render() {
let props = this.props;
if (isWeex) {
// TODO: do not pass object value in props
return <div {...props} />;
} else {
let styleProps = {
...styles.initial,
...props.style
};
return <div {...props} style={styleProps} />;
}
}
}
const styles = {
base: {
border: '0 solid black',
position: 'relative',
boxSizing: 'border-box',
display: 'flex',
flexDirection: 'column',
alignContent: 'flex-start',
flexShrink: 0
}
initial: {
border: '0 solid black',
position: 'relative',
boxSizing: 'border-box',
display: 'flex',
flexDirection: 'column',
alignContent: 'flex-start',
flexShrink: 0
}
};
export default View;
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