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

nuke-components

Package Overview
Dependencies
Maintainers
4
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.2.23 to 0.2.24

4

HISTORY.md
# Changelog
## 0.2.24 / 2017-05-03
* [[0d28f90](http://gitlab.alibaba-inc.com/nuke/components/commit/0d28f901cde8d014059a0c77c506427fcc90651f)] - `feat` add sticky for h5 header
## 0.2.23 / 2017-05-03

@@ -5,0 +9,0 @@

@@ -29,2 +29,4 @@ 'use strict';

function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -80,3 +82,8 @@

} else {
return (0, _rax.createElement)(_view2.default, _extends({ x: 'header' }, this.props));
var _props = this.props,
_props$style = _props.style,
style = _props$style === undefined ? {} : _props$style,
others = _objectWithoutProperties(_props, ['style']);
return (0, _rax.createElement)(_view2.default, _extends({ x: 'header', style: [{ position: 'sticky' }, style] }, others));
}

@@ -83,0 +90,0 @@ }

2

package.json
{
"name": "nuke-components",
"version": "0.2.23",
"version": "0.2.24",
"description": "nuke原件库",

@@ -5,0 +5,0 @@ "main": "lib/index",

@@ -34,3 +34,4 @@ /* @jsx createElement */

} else {
return <View x="header" {...this.props} />;
const {style={},...others} = this.props;
return <View x="header" style={[{position:'sticky'},style]} {...others} />;
}

@@ -37,0 +38,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