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

react-clicky

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-clicky - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.idea/vcs.xml

17

Clicky.js

@@ -1,15 +0,6 @@

/* @flow */
import * as React from 'react';
import scroll from 'zenscroll';
import zenscroll from 'zenscroll';
type Props = {
style?: {},
onClick?: void,
url?: string,
scroll?: string
}
class Clicky extends React.Component<Props> {
// @props style?: object, onClick?: void, url?: string, scroll?: string
class Clicky extends React.Component {
onClick = () => {

@@ -26,3 +17,3 @@ const { onClick, url, scroll } = this.props;

const target = document.getElementById(scroll);
scroll.center(target);
zenscroll.center(target);
}

@@ -29,0 +20,0 @@ };

@@ -1,5 +0,3 @@

/* @flow */
import Clicky from './Clicky'
export default Clicky;
{
"name": "react-clicky",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

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

Sorry, the diff of this file is not supported yet

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