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

react-scroll

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-scroll - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

13

lib/components/Element.js

@@ -1,6 +0,5 @@

/** @jsx React.DOM */
"use strict";
var React = require('react');
var assign = require('react/lib/Object.assign');
var Helpers = require('../mixins/Helpers');

@@ -17,7 +16,7 @@

return (
<div className={className}>
{this.props.children}
</div>
);
var props = assign({}, this.props, {
className: this.props.className
});
return React.DOM.div(props, this.props.children);
}

@@ -24,0 +23,0 @@ });

"use strict";
var React = require('react');
var assign = require('react/lib/Object.assign');
var Helpers = require('../mixins/Helpers');

@@ -9,7 +10,7 @@

render: function () {
return (
<a onClick={this.onClick} href="test">
{this.props.children}
</a>
);
var props = assign({}, this.props, {
onClick: this.onClick
});
return React.DOM.a(props, this.props.children);
}

@@ -16,0 +17,0 @@ });

{
"name": "react-scroll",
"version": "0.6.0",
"version": "0.7.0",
"description": "A scroll component for React.js",

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

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