Socket
Socket
Sign inDemoInstall

react-tilt

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-tilt - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

.travis.yml

5

example/package.json

@@ -10,3 +10,4 @@ {

"devDependencies": {
"react-scripts": "0.9.5"
"react-scripts": "0.9.5",
"react-tilt": "^0.1.1"
},

@@ -19,2 +20,2 @@ "scripts": {

}
}
}

8

example/src/App.js
import React, { Component } from 'react';
import './App.css';
// import Tilt from 'react-tilt'
import Tilt from '../../dist/tilt';
import Tilt from 'react-tilt';
class App extends Component {
onMouseLeave(e) {
console.log('clientY:', e.nativeEvent.clientY);
}
render() {
return (
<div className="App">
<Tilt className="Tilt" style={{ height: 250, width: 250 }} >
<Tilt className="Tilt" style={{ height: 250, width: 250 }} onMouseLeave={this.onMouseLeave}>
<div className="Tilt-inner">

@@ -12,0 +14,0 @@ 👽

{
"name": "react-tilt",
"version": "0.1.1",
"version": "0.1.2",
"description": "Tilt for react.js",

@@ -5,0 +5,0 @@ "main": "dist/tilt.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