Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "react-tilt", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Tilt for React JS", | ||
@@ -5,0 +5,0 @@ "author": "Jonathan Dion <jonathandionalary@gmail.com> (https://github.com/jonathandion/)", |
@@ -1,11 +0,19 @@ | ||
# react-tilt | ||
<h1 align="center"> | ||
react-tilt 🪄 | ||
</h1> | ||
<h4 align="center"> | ||
A tiny requestAnimationFrame powered 60+fps lightweight parallax hover tilt effect for ReactJS. | ||
</h4> | ||
<p align="center" style="text-align: center;"> | ||
<a href="https://www.npmjs.com/package/react-tilt"><img src="https://img.shields.io/npm/dw/react-tilt" alt="react-tilt downloads"></a> | ||
<a href="https://www.npmjs.com/package/react-tilt"><img src="https://img.shields.io/npm/v/react-tilt" alt="react-tilt version"></a> | ||
<a href="https://twitter.com/@0xjdion"><img src="https://img.shields.io/twitter/url/https/twitter.com/blueaquilae.svg?style=social&label=Follow%20%400xjdion" alt="Jonathan Dion Twitter"></a> | ||
</p> | ||
![react-tilt demo gif](https://github.com/jonathandion/react-tilt/blob/master/demo.gif) | ||
React version of [tilt.js](https://github.com/gijsroge/tilt.js) | ||
## Demo | ||
- [Reddit](https://nft.reddit.com/) | ||
- [VX](https://vx-demo.now.sh/gallery) | ||
- [Reddit NTFs](https://nft.reddit.com/) | ||
- [VX Demo](https://vx-demo.now.sh/gallery) | ||
@@ -52,6 +60,6 @@ ## Install | ||
| ------------- |:-------------:| | ||
| onMouseEnter | () -> React.SyntheticEvent | | ||
| onMouseMove | () -> React.SyntheticEvent | | ||
| onMouseLeave | () -> React.SyntheticEvent | | ||
| options | Object | | ||
| onMouseEnter | (event: React.SyntheticEvent) -> void | | ||
| onMouseMove | (event: React.SyntheticEvent) -> void | | ||
| onMouseLeave | (event: React.SyntheticEvent) -> void | | ||
| options | Options | | ||
@@ -58,0 +66,0 @@ ## Alternatives |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9086
74